org.hawk.ds
Class BinaryTree.Node
java.lang.Object
org.hawk.ds.BinaryTree.Node
- Enclosing class:
- BinaryTree
public static final class BinaryTree.Node
- extends java.lang.Object
This represents the node of the binary tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
BinaryTree.Node
public BinaryTree.Node(Element data)
setLeft
public void setLeft(BinaryTree.Node left)
setRight
public void setRight(BinaryTree.Node right)
setData
public void setData(Element data)
getData
public Element getData()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isCalculated
public boolean isCalculated()
getLeft
public BinaryTree.Node getLeft()
getRight
public BinaryTree.Node getRight()
setValue
public void setValue(IScript script)
getValue
public IScript getValue()