Method Summary |
|
public void | clear() Clears this map. |
public boolean | containsKey(Object key) Indicates whether this map contains a mapping from a specified
key. |
public boolean | containsValue(Object value) Indicates whether this map contains a mapping to a specified
value. |
public Set | entrySet() Returns a set view of the entries of this map. |
public boolean | equals(Object obj) Indicates whether this map is equal to some object.
Parameters: obj - the object with which to compare this map. |
public Object | get(Object key) Maps a specified key to a value. |
public int | hashCode() Returns a hash code value for this map. |
public boolean | isEmpty() Indicates whether this map is empty. |
public Set | keySet() Returns a set view of the keys of this map. |
public Object | put(Object key, Object value) Adds a mapping from a specified key to a specified value to
this map. |
public void | putAll(Map map) Adds all mappings from a specified map to this map. |
public Object | remove(Object key) Removes the mapping from a specified key from this map.
The mapping is removed from the underlying map.
Parameters: key - the key whose mapping to remove from this map. |
public int | size() Returns the size of this map. |
public Collection | values() Returns a collection view of the values in this map. |