|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The abstract data type of a dictionary
Method Summary | |
void |
insert(java.lang.Comparable key)
Inserts the key x in this dictionary. |
void |
remove(java.lang.Comparable key)
Removes the mapping for this key from this dictionary if it is present |
BSTNode |
search(java.lang.Comparable key)
Removes the mapping for this key from this dictionary if it is present |
Method Detail |
public void insert(java.lang.Comparable key)
key
- the element to insertpublic void remove(java.lang.Comparable key)
key
- the element to remove.public BSTNode search(java.lang.Comparable key)
key
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |