java.io.Serializablepublic class TreeList
extends java.lang.Object
implements java.io.Serializable
| Constructor | Description | 
|---|---|
| TreeList() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | add(TreeLinker newNode) | |
| void | check() | checks the tree for consistency of connections and ordering by sortKey. | 
| java.lang.Object | firstElement() | returns the object from the binary tree associated
 with the lowest sort-key, or null if the tree is empty | 
| static void | remove(TreeLinker oldNode) | |
| void | reset() | clear the tree by disconnecting everything from the head. | 
public void add(TreeLinker newNode)
public static void remove(TreeLinker oldNode)
public java.lang.Object firstElement()
public void reset()
public void check()