javautils.fun
Class VoidToVoid

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

public abstract class VoidToVoid
extends Function

void->void procedure.


Field Summary
static VoidToVoid NOP
           
 
Constructor Summary
VoidToVoid()
           
 
Method Summary
static VoidToVoid bindSelf(java.lang.reflect.Method method, java.lang.Object self)
          A wrapper that calls the given arbitrary method on the given object.
static VoidToVoid from(Function f)
          A wrapper that calls the given arbitrary function.
abstract  void with()
           
 
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 VoidToVoid NOP
Constructor Detail

VoidToVoid

public VoidToVoid()
Method Detail

with

public abstract void with()

from

public static VoidToVoid from(Function f)

A wrapper that calls the given arbitrary function.

Note:


bindSelf

public static VoidToVoid bindSelf(java.lang.reflect.Method method,
                                  java.lang.Object self)

A wrapper that calls the given arbitrary method on the given object.