public class BinaryTree.Node extends Object
BinaryTree.Node is an element of this tree.| Modifier | Constructor and Description |
|---|---|
protected |
Node(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() |
String |
toString() |
public final Object key
protected Node(Object k)
protected final BinaryTree.Node left()
protected final BinaryTree.Node right()
protected final BinaryTree.Node parent()
Copyright (c) 2006 C. Scott Ananian