javautils.fun
Class ObjectToBoolean

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

public abstract class ObjectToBoolean
extends Function

Object->boolean function.


Constructor Summary
ObjectToBoolean()
           
 
Method Summary
static ObjectToBoolean 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 ObjectToBoolean from(Function f)
          A wrapper that calls the given arbitrary function.
abstract  boolean 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
 

Constructor Detail

ObjectToBoolean

public ObjectToBoolean()
Method Detail

with

public abstract boolean with(java.lang.Object _0)

from

public static ObjectToBoolean from(Function f)

A wrapper that calls the given arbitrary function.

Note:


bindSelf

public static ObjectToBoolean 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.