|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.conditional.OrEvaluator
public class OrEvaluator
Or operation, returns true if either left or right Node evaluates to true.
Constructor Summary | |
---|---|
OrEvaluator()
|
Method Summary | |
---|---|
boolean |
evaluate(EvaluationContext context,
Node node)
Invoked by the Node to evaluate its own value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OrEvaluator()
Method Detail |
---|
public boolean evaluate(EvaluationContext context, Node node)
Evaluator
left
and
right
properties and combine or
otherwise evaluate them. Terminal nodes in the tree will have evaluators that don't do that
but generate a return value internally.
evaluate
in interface Evaluator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |