Skip to content

Instantly share code, notes, and snippets.

@apmckinlay
Created September 11, 2012 19:42
Show Gist options
  • Save apmckinlay/3701471 to your computer and use it in GitHub Desktop.
Save apmckinlay/3701471 to your computer and use it in GitHub Desktop.
built-in method using MethodHandle behind the scenes
@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