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