|
||||||||||
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 | |
java.lang.Object |
find(java.lang.Comparable key)
Returns the value to which this map maps the specified key. |
java.lang.Object |
insert(java.lang.Comparable key)
Inserts the key x in this dictionary. |
java.lang.Comparable |
remove(java.lang.Comparable key)
Removes the mapping for this key from this dictionary if it is present |
Method Detail |
public java.lang.Object insert(java.lang.Comparable key)
key
- the element to insertpublic java.lang.Comparable remove(java.lang.Comparable key)
key
- the element to remove.public java.lang.Object find(java.lang.Comparable key)
key
- key whose associated value is to be returned.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |