Method Summary |
|
public void | clear() Removes all elements from this Map, leaving it empty. |
public boolean | containsKey(Object key) Searches this Map for the specified key. |
public boolean | containsValue(Object value) Searches this Map for the specified value. |
public Set<Map.Entry<K, V>> | entrySet() Returns a Set whose elements comprise all of the mappings
that are to be found in this Map . |
public boolean | equals(Object object) Compares the argument to the receiver, and answers true if they represent
the same object using a class specific comparison.
Parameters: object - Object the object to compare with this object. |
public V | get(Object key) Answers the value of the mapping with the specified key. |
public int | hashCode() Answers an integer hash code for the receiver. |
public boolean | isEmpty() Answers if this Map has no elements, a size of zero. |
public Set<K> | keySet() Answers a Set of the keys contained in this Map. |
public V | put(K key, V value) Maps the specified key to the specified value. |
public void | putAll(Map<? extends K, ? extends V> map) Copies every mapping in the specified Map to this Map. |
public V | remove(Object key) Removes a mapping with the specified key from this Map. |
public int | size() Answers the number of elements in this Map. |
public Collection<V> | values() Returns all of the current Map values in a
Collection . |