public class Composition extends Function
NO_CLASSES| Constructor and Description |
|---|
Composition(Function baseInit,
int idxInit,
Function paraInit)
Create a Composition.
|
| Modifier and Type | Method and Description |
|---|---|
static Composition |
create(Function baseInit,
int idxInit,
Function paraInit) |
Class[] |
getExceptionTypes() |
String |
getName()
Gets the Function name.
|
Class[] |
getParameterTypes()
Gets the argument count.
|
Class |
getReturnType()
Gets the result type.
|
Object |
invoke(Object[] allVals)
Invokes the composed Functions.
|
void |
translate(Code dest)
Generate bytecode equivalent to invoke().
|
public static Composition create(Function baseInit, int idxInit, Function paraInit)
public String getName()
public Class getReturnType()
getReturnType in class Functionpublic Class[] getParameterTypes()
getParameterTypes in class Functionpublic Class[] getExceptionTypes()
getExceptionTypes in class Functionpublic Object invoke(Object[] allVals) throws InvocationTargetException
invoke in class FunctionallVals - arguments to call the Function with; length
and types must conform the argument count and the
argument types of the FunctionInvocationTargetExceptionCopyright © 1998–2017 1&1. All rights reserved.