Method Summary |
|
public synchronized void | clear() Removes all key/value pairs from this Hashtable, leaving the size zero
and the capacity unchanged. |
public synchronized Object | clone() Answers a new Hashtable with the same key/value pairs, capacity and load
factor. |
public synchronized boolean | contains(Object value) Answers if this Hashtable contains the specified object as the value of
at least one of the key/value pairs. |
public synchronized boolean | containsKey(Object key) Answers if this Hashtable contains the specified object as a key of one
of the key/value pairs. |
public boolean | containsValue(Object value) Searches this Hashtable for the specified value. |
public synchronized Enumeration<V> | elements() Answers an Enumeration on the values of this Hashtable. |
public Set<Map.Entry<K, V>> | entrySet() Answers a Set of the mappings contained in this Hashtable. |
public synchronized boolean | equals(Object object) Compares the specified object to this Hashtable and answer if they are
equal. |
public synchronized V | get(Object key) Answers the value associated with the specified key in this Hashtable. |
Entry<K, V> | getEntry(Object key) |
public synchronized int | hashCode() Answers an integer hash code for the receiver. |
public synchronized boolean | isEmpty() Answers if this Hashtable has no key/value pairs, a size of zero. |
public Set<K> | keySet() Answers a Set of the keys contained in this Hashtable. |
public synchronized Enumeration<K> | keys() Answers an Enumeration on the keys of this Hashtable. |
public synchronized V | put(K key, V value) Associate the specified value with the specified key in this Hashtable.
If the key already exists, the old value is replaced. |
public synchronized void | putAll(Map<? extends K, ? extends V> map) Copies every mapping in the specified Map to this Hashtable. |
protected void | rehash() Increases the capacity of this Hashtable. |
public synchronized V | remove(Object key) Remove the key/value pair with the specified key from this Hashtable. |
public synchronized int | size() Answers the number of key/value pairs in this Hashtable. |
public synchronized String | toString() Answers the string representation of this Hashtable. |
public Collection<V> | values() Answers a Collection of the values contained in this Hashtable. |