|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maverickdbms.basic.util.AvlTree
| Field Summary |
| Fields inherited from interface org.maverickdbms.basic.util.Tree |
TYPE_AVL |
| Constructor Summary | |
AvlTree()
|
|
| 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 |
static void |
main(java.lang.String[] args)
|
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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public AvlTree()
| Method Detail |
public boolean containsKey(java.lang.Comparable c)
Tree
containsKey in interface Treepublic boolean isEmpty()
Tree
isEmpty in interface Treepublic java.util.Iterator iterator()
Tree
iterator in interface Treepublic java.lang.Comparable probe(java.lang.Comparable c)
Tree
probe in interface Treepublic java.lang.Comparable remove(java.lang.Comparable c)
Tree
remove in interface Treepublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||