Method Summary |
|
public void | clear() Removes all mappings from this map. |
public boolean | containsKey(Object key) Returns
true if this map contains a mapping for the specified key. |
public boolean | containsValue(Object value) Returns
true if this map maps one or more keys to this value. |
public Set | entrySet() Returns a set view of the mappings contained in this map. |
public boolean | equals(Object object) Compares the specified object with this map for equality. |
public Object | get(Object key) Returns the value to which this map maps the specified key. |
public int | hashCode() Returns the hash code value for this map. |
final boolean | isValid() Performs a consistency check on this map. |
public Object | put(Object key, Object value) Associates the specified value with the specified key in this map.
Parameters: key - Key with which the specified value is to be associated. Parameters: value - Value to be associated with the specified key. |
public void | putAll(Map map) Copies all of the mappings from the specified map to this map. |
public Object | remove(Object key) Removes the mapping for this key from this map if present.
Parameters: key - Key whose mapping is to be removed from the map. |
public int | size() Returns the number of entries in this map. |
public String | toString() Returns a string representation of this map. |