|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Tree provides a common interface for various tree implementations
| Field Summary | |
static int |
TYPE_AVL
|
| Method Summary | |
boolean |
containsKey(java.lang.Comparable c)
Return whether the specified object is in the tree. |
boolean |
isEmpty()
If the tree contains any items. |
java.util.Iterator |
iterator()
Iterator to traverse through tree items |
java.lang.Comparable |
probe(java.lang.Comparable c)
Searches for the specified item. |
java.lang.Comparable |
remove(java.lang.Comparable c)
Removes the specified item from the tree |
| Field Detail |
public static final int TYPE_AVL
| Method Detail |
public boolean containsKey(java.lang.Comparable c)
public boolean isEmpty()
public java.util.Iterator iterator()
public java.lang.Comparable probe(java.lang.Comparable c)
public java.lang.Comparable remove(java.lang.Comparable c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||