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