public class BinaryTree.Node
extends java.lang.Object
BinaryTree.Node is an element of this tree.| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
key |
| Modifier | Constructor and Description |
|---|---|
protected |
Node(java.lang.Object k)
Can only be called by makeNode(Object)
or by Node subclass constructors.
|
| Modifier and Type | Method and Description |
|---|---|
protected BinaryTree.Node |
left() |
protected BinaryTree.Node |
parent() |
protected BinaryTree.Node |
right() |
java.lang.String |
toString() |
protected Node(java.lang.Object k)
protected final BinaryTree.Node left()
protected final BinaryTree.Node right()
protected final BinaryTree.Node parent()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2006 C. Scott Ananian