|
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.
|
|
synchronized
boolean
|
contains(Object value)
Returns 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 if this Hashtable contains the specified object as a key of one
of the key/value pairs.
|
|
boolean
|
containsValue(Object value)
Searches this Hashtable for the specified value.
|
|
synchronized
Enumeration<V>
|
elements()
Returns an Enumeration on the values of this Hashtable.
|
|
Set<Entry<K, V>>
|
entrySet()
Returns a Set of the mappings contained in this Hashtable.
|
|
synchronized
boolean
|
equals(Object object)
Compares the specified object to this Hashtable and answer 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 the receiver.
|
|
synchronized
boolean
|
isEmpty()
Returns if this Hashtable has no key/value pairs, a size of zero.
|
|
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.
|
|
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 in the specified Map to this Hashtable.
|
|
void
|
rehash()
Increases the capacity of this Hashtable.
|
|
synchronized
V
|
remove(Object key)
Remove 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.
|
|
Collection<V>
|
values()
Returns a Collection of the values contained in this Hashtable.
|