Created
September 11, 2012 19:42
-
-
Save apmckinlay/3701471 to your computer and use it in GitHub Desktop.
built-in method using MethodHandle behind the scenes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Params("value, block=false") | |
public static Object EqualRange(Object self, Object a, Object b) { | |
Range r = ((SuContainer) self).equalRange(a, b); | |
return SuContainer.of(r.left, r.right); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment