|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface that represents a function of 2 parameters.
| Method Summary | |
Function1 |
bind(Object p_param1)
Binds the first parameter of this function of 2 parameters to return a new function of 1 parameter. |
Function0 |
bind(Object p_param1,
Object p_param2)
Binds both parameters of this function of 2 parameters to return a new function of no parameters. |
Function1 |
bind2(Object p_param2)
Binds the second parameter of this function of 2 parameters to return a new function of 1 parameter. |
Object |
call(Object p_param1,
Object p_param2)
Calls the function on the given parameters and returns the result. |
| Method Detail |
public Object call(Object p_param1,
Object p_param2)
throws FunctionException
p_param1 - the first parameter to the function.p_param2 - the second parameter to the function.
FunctionException - thrown if an exception occurs during the function
call.public Function1 bind(Object p_param1)
p_param1 - the parameter to bind to the first parameter of the function.
public Function0 bind(Object p_param1,
Object p_param2)
p_param1 - the parameter to bind to the first parameter of the function.p_param2 - the parameter to bind to the second parameter of the function.
public Function1 bind2(Object p_param2)
p_param2 - the parameter to bind to the second parameter of the function.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||