dataStructures
Class BinaryTreeNode
java.lang.Object
|
+--dataStructures.BinaryTreeNode
- public class BinaryTreeNode
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
BinaryTreeNode
public BinaryTreeNode()
BinaryTreeNode
public BinaryTreeNode(java.lang.Object theElement)
BinaryTreeNode
public BinaryTreeNode(java.lang.Object theElement,
BinaryTreeNode theleftChild,
BinaryTreeNode therightChild)
getLeftChild
public BinaryTreeNode getLeftChild()
getRightChild
public BinaryTreeNode getRightChild()
getElement
public java.lang.Object getElement()
setLeftChild
public void setLeftChild(BinaryTreeNode theLeftChild)
setRightChild
public void setRightChild(BinaryTreeNode theRightChild)
setElement
public void setElement(java.lang.Object theElement)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object