Class Hashtable:
public class Hashtable
extends Dictionary
implements Map, Cloneable, Serializable
{
//
}
Returns an enumeration of the values in this hashtable.
Returns a Set view of the mappings contained in this map.
boolean equals(Object o)
Compares the specified Object with this Map for equality, as per the definition in the Map interface.
V get(Object key)
Returns the value to which the specified key is mapped, or null if this map contains no mapping for the key.
int hashCode()
Returns the hash code value for this Map as per the definition in the Map interface.
boolean isEmpty()
Tests if this hashtable maps no keys to values.
Returns an enumeration of the keys in this hashtable.
Returns a Set view of the keys contained in this map.
V put(K key, V value)
Maps the specified key to the specified value in this hashtable.
void putAll(Map t)
Copies all of the mappings from the specified map to this hashtable.
protected void rehash()
Increases the capacity of and internally reorganizes this hashtable, in order to accommodate and access its entries more efficiently.
V remove(Object key)
Removes the key (and its corresponding value) from this hashtable.
int size()
Returns the number of keys in this hashtable.
String toString()
Returns a string representation of this Hashtable object in the form of a set of entries, enclosed in braces and separated by the ASCII characters ", " (comma and space).
Returns a Collection view of the values contained in this map.
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait