cdqa.function

Class UnaryPredicateOr


(package private) class UnaryPredicateOr
extends UnaryPredicate

Field Summary

(package private) UnaryPredicate
p1
(package private) UnaryPredicate
p2

Fields inherited from class cdqa.function.UnaryPredicate

ISTRUE, TRUE

Fields inherited from class cdqa.function.Function

NULL, repository

Constructor Summary

UnaryPredicateOr(UnaryPredicate p1, UnaryPredicate p2)

Method Summary

boolean
onApply(XObject o)

Methods inherited from class cdqa.function.UnaryPredicate

apply, isTrue, onApply, onExecute, or, pathToParentMatch

Methods inherited from class cdqa.function.UnaryFunction

createIteratorInstance, execute, onExecute

Methods inherited from class cdqa.function.Function

createIteratorInstance, createIteratorInstance, createIteratorInstance, forName, getRepository

Field Details

p1

(package private)  UnaryPredicate p1

p2

(package private)  UnaryPredicate p2

Constructor Details

UnaryPredicateOr

public UnaryPredicateOr(UnaryPredicate p1,
                        UnaryPredicate p2)

Method Details

onApply

public boolean onApply(XObject o)
Overrides:
onApply in interface UnaryPredicate