synchronized
void
|
clear()
Clears this hashtable so that it contains no keys.
|
synchronized
Object
|
clone()
Creates a shallow copy of this hashtable.
|
synchronized
boolean
|
contains(Object value)
Tests if some key maps into the specified value in this hashtable.
|
synchronized
boolean
|
containsKey(Object key)
Tests if the specified object is a key in this hashtable.
|
boolean
|
containsValue(Object value)
Returns true if this hashtable maps one or more keys to this value.
|
synchronized
Enumeration<V>
|
elements()
Returns an enumeration of the values in this hashtable.
|
Set<Entry<K, V>>
|
entrySet()
Returns a Set view of the mappings contained in this map.
|
synchronized
boolean
|
equals(Object o)
Compares the specified Object with this Map for equality,
as per the definition in the Map interface.
|
synchronized
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.
|
synchronized
int
|
hashCode()
Returns the hash code value for this Map as per the definition in the
Map interface.
|
synchronized
boolean
|
isEmpty()
Tests if this hashtable maps no keys to values.
|
Set<K>
|
keySet()
Returns a Set view of the keys contained in this map.
|
synchronized
Enumeration<K>
|
keys()
Returns an enumeration of the keys in this hashtable.
|
synchronized
V
|
put(K key, V value)
Maps the specified key to the specified
value in this hashtable.
|
synchronized
void
|
putAll(Map<? extends K, ? extends V> t)
Copies all of the mappings from the specified map to this hashtable.
|
void
|
rehash()
Increases the capacity of and internally reorganizes this
hashtable, in order to accommodate and access its entries more
efficiently.
|
synchronized
V
|
remove(Object key)
Removes the key (and its corresponding value) from this
hashtable.
|
synchronized
int
|
size()
Returns the number of keys in this hashtable.
|
synchronized
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).
|
Collection<V>
|
values()
Returns a Collection view of the values contained in this map.
|