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