cdqa.function

Class BinaryPredicateOr


public final class BinaryPredicateOr
extends BinaryPredicate

Field Summary

(package private) BinaryPredicate
p1
(package private) BinaryPredicate
p2

Fields inherited from class cdqa.function.BinaryPredicate

FALSE, RIGHTTRUE, TRUE

Fields inherited from class cdqa.function.BinaryFunction

FIRSTARG, SECONDARG

Fields inherited from class cdqa.function.Function

NULL, repository

Constructor Summary

BinaryPredicateOr(BinaryPredicate p1, BinaryPredicate p2)

Method Summary

boolean
onApply(XObject o1, XObject o2)

Methods inherited from class cdqa.function.BinaryPredicate

apply, createIteratorInstance, onApply, onExecute, or, rightIsTrue, theFalsePredicate, theTruePredicate

Methods inherited from class cdqa.function.BinaryFunction

createIteratorInstance, createIteratorInstance, execute, firstArg, onExecute, secondArg

Methods inherited from class cdqa.function.Function

createIteratorInstance, createIteratorInstance, createIteratorInstance, forName, getRepository

Field Details

p1

(package private)  BinaryPredicate p1

p2

(package private)  BinaryPredicate p2

Constructor Details

BinaryPredicateOr

public BinaryPredicateOr(BinaryPredicate p1,
                         BinaryPredicate p2)

Method Details

onApply

public boolean onApply(XObject o1,
                       XObject o2)
Overrides:
onApply in interface BinaryPredicate