Method Summary |
|
void | clear() Clears this map. |
boolean | containsKey(int 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. |
IntKeyMapIterator<E> | 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. |
E | get(int 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. |
IntSet | keySet() Returns a set view of the keys of this map. |
E | put(int key, E value) Adds a mapping from a specified key to a specified value to
this map. |
void | putAll(IntKeyMap<E> map) Adds all mappings from a specified map to this map. |
E | 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. |
java.util.Collection | values() Returns a collection view of the values in this map. |