|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javautils.fun.Function
|
+--javautils.fun.ObjectToObject
Object->Object function.
| Field Summary | |
static ObjectToObject |
IDENTITY
|
| Constructor Summary | |
ObjectToObject()
|
|
| Method Summary | |
static ObjectToObject |
bindArgs(java.lang.reflect.Method method,
java.lang.Object[] args)
A wrapper that calls the given arbitrary method on the object given as a parameter to the with(Object)-method with the
given arguments. |
static ObjectToObject |
bindSelf(java.lang.reflect.Method method,
java.lang.Object self)
A wrapper that calls the given arbitrary method on the given object with the parameter given to the with(Object)-method
of the wrapper. |
static ObjectToObject |
from(Function f)
A wrapper that calls the given arbitrary function. |
abstract java.lang.Object |
with(java.lang.Object _0)
|
| Methods inherited from class javautils.fun.Function |
getMethod, getSelf, invoke |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final ObjectToObject IDENTITY
| Constructor Detail |
public ObjectToObject()
| Method Detail |
public abstract java.lang.Object with(java.lang.Object _0)
public static ObjectToObject from(Function f)
A wrapper that calls the given arbitrary function.
Note:
Function
object.
public static ObjectToObject bindArgs(java.lang.reflect.Method method,
java.lang.Object[] args)
A wrapper that calls the given arbitrary method on the object
given as a parameter to the with(Object)-method with the
given arguments.
public static ObjectToObject bindSelf(java.lang.reflect.Method method,
java.lang.Object self)
A wrapper that calls the given arbitrary method on the given
object with the parameter given to the with(Object)-method
of the wrapper.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||