Method Summary |
|
void | clear() Clears this map. |
boolean | containsKey(short key) Indicates whether this map contains a mapping from a specified
key. |
boolean | containsValue(char value) Indicates whether this map contains a mapping to a specified
value.
Parameters: value - the value to test for. |
ShortKeyCharMapIterator | entries() Returns an iterator over the entries of this map. |
boolean | equals(Object obj) Indicates whether this map is equal to some object.
Parameters: obj - the object with which to compare this map. |
char | get(short key) Maps a specified key to a value. |
int | hashCode() Returns a hash code value for this map. |
boolean | isEmpty() Indicates whether this map is empty. |
ShortSet | keySet() Returns a set view of the keys of this map. |
char | lget() Returns the last value corresponding to a positive result
from
ShortKeyCharMap.containsKey(short) containsKey(short) . |
char | put(short key, char value) Adds a mapping from a specified key to a specified value to
this map. |
void | putAll(ShortKeyCharMap map) Adds all mappings from a specified map to this map. |
char | remove(short key) Removes the mapping from a specified key from this map.
Parameters: key - the key whose mapping to remove from this map. |
int | size() Returns the size of this map. |
char | tget(short key) Maps a specified key to a value. |
void | trimToSize() Minimizes the memory used by this map. |
CharCollection | values() Returns a collection view of the values in this map. |