Home » openjdk-7 » java.lang.invoke » [javadoc | source]
abstract static class: SpreadGeneric.Adapter [javadoc | source]

Direct Known Subclasses:
    S10, S9, S8, S7, S6, S5, S4, S3, S2, S1, S0

This adapter takes some untyped arguments, and returns an untyped result. Internally, it applies the invoker to the target, which causes the objects to be unboxed; the result is a raw type in L/I/J/F/D. This result is passed to convert, which is responsible for converting the raw result into a boxed object. The invoker is kept separate from the target because it can be generated once per type erasure family, and reused across adapters.
Field Summary
protected final  SpreadGeneric outer     
protected final  MethodHandle target     
static final  MethodHandle NO_ENTRY     
Fields inherited from java.lang.invoke.MethodHandle:
 protected Adapter(SpreadGeneric outer) 
 protected Adapter(SpreadGeneric outer,
    MethodHandle target) 
Method from java.lang.invoke.SpreadGeneric$Adapter Summary:
check,   debugString,   findSubClass,   isPrototype,   makeInstance,   select
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.SpreadGeneric$Adapter Detail:
 protected Object check(Object av,
    int n) 
 String debugString() 
 static Class<Adapter> findSubClass(String name) 
    Find a sibing class of Adapter.
 protected boolean isPrototype() 
 abstract protected Adapter makeInstance(SpreadGeneric outer,
    MethodHandle target)
    Make a copy of self, with new fields.
 protected Object select(Object av,
    int n)