Fido Alpha 3.2

fido.util
Class BooleanNode

java.lang.Object
  |
  +--fido.util.BooleanNode
All Implemented Interfaces:
BooleanTreeNode
Direct Known Subclasses:
BooleanAndNode, BooleanOrNode

public class BooleanNode
extends java.lang.Object
implements BooleanTreeNode

This class represents a boolean AND or an OR in a boolean expression. Nodes that traverse a BooleanTree will use this node to accept both or either of its branches when comparing.

See Also:
BooleanTree

Constructor Summary
protected BooleanNode()
          Constructs a new BooleanNode.
 
Method Summary
 BooleanTreeNode getLeftBranch()
           
 BooleanTreeNode getRightBranch()
           
 void setLeftBranch(BooleanTreeNode node)
           
 void setRightBranch(BooleanTreeNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanNode

protected BooleanNode()
Constructs a new BooleanNode. This is only used in the subclasses BooleanAndNode and BooleanOrNode.

See Also:
BooleanAndNode, BooleanOrNode
Method Detail

getLeftBranch

public BooleanTreeNode getLeftBranch()

setLeftBranch

public void setLeftBranch(BooleanTreeNode node)

getRightBranch

public BooleanTreeNode getRightBranch()

setRightBranch

public void setRightBranch(BooleanTreeNode node)

Fido Alpha 3.2