public abstract class MethodHandle
- Object
- MethodHandle
Deprecated. these classes are used internally for Lambda compatibility
Constructors
public MethodHandle() |
Methods
Inherited methods
Constructor details
MethodHandle
public MethodHandle()Method details
type
public MethodType type()invokeExact
public final Object invokeExact(Object... a)
throws ThrowableThrows
invoke
public final Object invoke(Object... a)
throws ThrowableThrows
invokeWithArguments
public Object invokeWithArguments(Object... a)
throws ThrowableThrows
invokeWithArguments
public Object invokeWithArguments(List<?> a)
throws ThrowableThrows
asType
public MethodHandle asType(MethodType a)asSpreader
public MethodHandle asSpreader(Class<?> a, int b)asCollector
public MethodHandle asCollector(Class<?> a, int b)asVarargsCollector
public MethodHandle asVarargsCollector(Class<?> a)isVarargsCollector
public boolean isVarargsCollector()asFixedArity
public MethodHandle asFixedArity()bindTo
public MethodHandle bindTo(Object a)