net.cscott.jutil

Class BinaryTree.Node

public class BinaryTree.Node extends Object

A Node is an element of this tree.
Field Summary
Objectkey
Constructor Summary
protected Node(Object k)
Can only be called by makeNode(Object) or by Node subclass constructors.
Method Summary
protected BinaryTree.Nodeleft()
protected BinaryTree.Nodeparent()
protected BinaryTree.Noderight()
StringtoString()

Field Detail

key

public final Object key

Constructor Detail

Node

protected Node(Object k)
Can only be called by makeNode(Object) or by Node subclass constructors.

Method Detail

left

protected final BinaryTree.Node left()

parent

protected final BinaryTree.Node parent()

right

protected final BinaryTree.Node right()

toString

public String toString()
Copyright © 2003 C. Scott Ananian