Home » openjdk-7 » java.lang.invoke » [javadoc | source]
java.lang.invoke
class: FilterOneArgument [javadoc | source]
java.lang.Object
   java.lang.invoke.MethodHandle
      java.lang.invoke.BoundMethodHandle
         java.lang.invoke.FilterOneArgument
Unary function composition, useful for many small plumbing jobs. The invoke method takes a single reference argument, and returns a reference Internally, it first calls the {@code filter} method on the argument, Making up the difference between the raw method type and the final method type is the responsibility of a JVM-level adapter.
Field Summary
protected final  MethodHandle filter     
protected final  MethodHandle target     
Fields inherited from java.lang.invoke.MethodHandle:
vmtarget,  INT_FIELD,  LONG_FIELD
Constructor:
 protected FilterOneArgument(MethodHandle filter,
    MethodHandle target) 
Method from java.lang.invoke.FilterOneArgument Summary:
debugString,   invoke,   make
Methods from java.lang.invoke.BoundMethodHandle:
badBoundArgumentException,   baseName,   bindPrimitiveArgument,   checkReferenceArgument,   debugString
Methods from java.lang.invoke.MethodHandle:
asCollector,   asFixedArity,   asSpreader,   asType,   asVarargsCollector,   bindTo,   debugString,   invoke,   invokeExact,   invokeWithArguments,   invokeWithArguments,   isVarargsCollector,   toString,   type
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.lang.invoke.FilterOneArgument Detail:
 String debugString() 
 protected Object invoke(Object argument) throws Throwable 
 public static MethodHandle make(MethodHandle filter,
    MethodHandle target)