javautils.fun
Class ObjectToObjectToVoid
java.lang.Object
|
+--javautils.fun.Function
|
+--javautils.fun.ObjectToObjectToVoid
- public abstract class ObjectToObjectToVoid
- extends Function
Object->Object->void
procedure.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NOP
public static final ObjectToObjectToVoid NOP
ObjectToObjectToVoid
public ObjectToObjectToVoid()
with
public abstract void with(java.lang.Object _0,
java.lang.Object _1)
from
public static ObjectToObjectToVoid from(Function f)
A wrapper that calls the given arbitrary function.
Note:
- Careless wrapping and use of arbitrary functions may lead to
run-time type errors.
- The dynamic invocation performed by the created wrapper will be
slower than direct invocation of the original
Function
object.
bindSelf
public static ObjectToObjectToVoid 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(java.lang.Object, java.lang.Object)
-method of the
wrapper.