Method Summary |
|
void | clear() Clears this map. |
boolean | containsKey(byte key) Indicates whether this map contains a mapping from a specified
key. |
boolean | containsValue(short value) Indicates whether this map contains a mapping to a specified
value.
Parameters: value - the value to test for. |
ByteKeyShortMapIterator | 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. |
short | get(byte 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. |
ByteSet | keySet() Returns a set view of the keys of this map. |
short | lget() Returns the last value corresponding to a positive result
from
ByteKeyShortMap.containsKey(byte) containsKey(byte) . |
short | put(byte key, short value) Adds a mapping from a specified key to a specified value to
this map. |
void | putAll(ByteKeyShortMap map) Adds all mappings from a specified map to this map. |
short | remove(byte 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. |
short | tget(byte key) Maps a specified key to a value. |
void | trimToSize() Minimizes the memory used by this map. |
ShortCollection | values() Returns a collection view of the values in this map. |