|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hivemind.conditional.NodeImpl
public class NodeImpl
Implementation of Node
.
Constructor Summary | |
---|---|
NodeImpl(Evaluator evaluator)
Alternate constructor used for terminal nodes. |
|
NodeImpl(Node left,
Node right,
Evaluator evaluator)
|
Method Summary | |
---|---|
boolean |
evaluate(EvaluationContext context)
Evaluates the nodes using the context to provide access to runtime information. |
Node |
getLeft()
|
Node |
getRight()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeImpl(Node left, Node right, Evaluator evaluator)
public NodeImpl(Evaluator evaluator)
Method Detail |
---|
public Node getLeft()
getLeft
in interface Node
public Node getRight()
getRight
in interface Node
public boolean evaluate(EvaluationContext context)
Node
evaluate
in interface Node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |