public class CallableSelector extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
CallableSelector.CallableCache<T extends ParameterTypes>
A cache of "callables" based on method signature hash.
|
public static <T extends ParameterTypes> T matchingCallableArityN(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject[] args)
public static <T extends ParameterTypes> T matchingCallableArityOne(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0)
public static <T extends ParameterTypes> T matchingCallableArityTwo(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1)
public static <T extends ParameterTypes> T matchingCallableArityThree(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public static <T extends ParameterTypes> T matchingCallableArityFour(Ruby runtime, CallableSelector.CallableCache<T> cache, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
public static <T extends JavaCallable> T matchingCallableArityN(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject[] args)
public static <T extends JavaCallable> T matchingCallableArityOne(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0)
public static <T extends JavaCallable> T matchingCallableArityTwo(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1)
public static <T extends JavaCallable> T matchingCallableArityThree(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
public static <T extends JavaCallable> T matchingCallableArityFour(Ruby runtime, RubyToJavaInvoker<T> invoker, T[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
@Deprecated public static <T extends ParameterTypes> IntHashMap<T> newCallableCache()
T
- the callable typeCallableSelector
@Deprecated public static ParameterTypes matchingCallableArityN(Ruby runtime, Map cache, ParameterTypes[] methods, IRubyObject[] args)
@Deprecated public static JavaCallable matchingCallableArityN(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject[] args)
@Deprecated public static JavaCallable matchingCallableArityOne(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0)
@Deprecated public static JavaCallable matchingCallableArityTwo(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1)
@Deprecated public static JavaCallable matchingCallableArityThree(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2)
@Deprecated public static JavaCallable matchingCallableArityFour(Ruby runtime, Map cache, JavaCallable[] methods, IRubyObject arg0, IRubyObject arg1, IRubyObject arg2, IRubyObject arg3)
Copyright © 2001-2016 JRuby. All Rights Reserved.