org.hawk.ds
Class BinaryTree.Node

java.lang.Object
  extended by 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.


Constructor Summary
BinaryTree.Node(Element data)
           
 
Method Summary
 Element getData()
           
 BinaryTree.Node getLeft()
           
 BinaryTree.Node getRight()
           
 IScript getValue()
           
 boolean isCalculated()
           
 void setData(Element data)
           
 void setLeft(BinaryTree.Node left)
           
 void setRight(BinaryTree.Node right)
           
 void setValue(IScript script)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BinaryTree.Node

public BinaryTree.Node(Element data)
Method Detail

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()