|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javautils.fun.Function | +--javautils.fun.ObjectToVoid
Object->void
procedure.
Field Summary | |
static ObjectToVoid |
NOP
|
Constructor Summary | |
ObjectToVoid()
|
Method Summary | |
static ObjectToVoid |
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 ObjectToVoid |
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 ObjectToVoid |
from(Function f)
A wrapper that calls the given arbitrary function. |
abstract void |
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 ObjectToVoid NOP
Constructor Detail |
public ObjectToVoid()
Method Detail |
public abstract void with(java.lang.Object _0)
public static ObjectToVoid from(Function f)
A wrapper that calls the given arbitrary function.
Note:
Function
object.
public static ObjectToVoid 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 ObjectToVoid 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 |