Method Summary |
|
void | clear() Clears this map. |
boolean | containsKey(short key) Indicates whether this map contains a mapping from a specified
key.
Parameters: key - the key to test for. |
boolean | containsValue(Object value) Indicates whether this map contains a mapping to a specified
value.
Parameters: value - the value to test for. |
ShortKeyMapIterator | 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. |
Object | get(short key) Maps a specified key to a value.
Parameters: key - the key to map to a value. |
int | hashCode() Returns a hash code value for this map. |
public boolean | isEmpty() Indicates whether this map is empty. |
ShortSet | keySet() Returns a set view of the keys of this map. |
Object | put(short key, Object value) Adds a mapping from a specified key to a specified value to
this map. |
void | putAll(ShortKeyMap map) Adds all mappings from a specified map to this map. |
Object | 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. |
java.util.Collection | values() Returns a collection view of the values in this map. |