javautils.fun
Class ObjectToObjectToVoid

java.lang.Object
  |
  +--javautils.fun.Function
        |
        +--javautils.fun.ObjectToObjectToVoid

public abstract class ObjectToObjectToVoid
extends Function

Object->Object->void procedure.


Field Summary
static ObjectToObjectToVoid NOP
           
 
Constructor Summary
ObjectToObjectToVoid()
           
 
Method Summary
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.
static ObjectToObjectToVoid from(Function f)
          A wrapper that calls the given arbitrary function.
abstract  void with(java.lang.Object _0, java.lang.Object _1)
           
 
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

NOP

public static final ObjectToObjectToVoid NOP
Constructor Detail

ObjectToObjectToVoid

public ObjectToObjectToVoid()
Method Detail

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:


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.