cdqa.function
Class UnaryPredicate
java.lang.Object
cdqa.function.Function
cdqa.function.UnaryFunction
cdqa.function.UnaryPredicate
- Direct Known Subclasses:
- UnaryPredicateOr
public abstract class UnaryPredicate
- extends UnaryFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ISTRUE
static UnaryPredicate ISTRUE
TRUE
public static UnaryPredicate TRUE
UnaryPredicate
public UnaryPredicate()
onApply
public abstract boolean onApply(XObject o)
onExecute
public final XObject onExecute(XObject o)
- Specified by:
onExecute
in class UnaryFunction
apply
public final boolean apply(XObject o)
isTrue
public static UnaryPredicate isTrue()
or
public static UnaryPredicate or(UnaryPredicate p1,
UnaryPredicate p2)
pathToParentMatch
public static UnaryPredicate pathToParentMatch(java.lang.String regex)