Java.Util.Hashtable: Method Members

The methods of Java.Util.Hashtable are listed below. For a list of all members, see the Hashtable Members list.

See Also: Inherited members from Java.Util.Dictionary

Public Methods

Clear()
Removes all key/value pairs from this Hashtable, leaving the size zero and the capacity unchanged.
Clone() : Java.Lang.Object
Returns a new Hashtable with the same key/value pairs, capacity and load factor.
Contains(Java.Lang.Object) : bool
Returns true if this Hashtable contains the specified object as the value of at least one of the key/value pairs.
ContainsKey(Java.Lang.Object) : bool
Returns true if this Hashtable contains the specified object as a key of one of the key/value pairs.
ContainsValue(Java.Lang.Object) : bool
Searches this Hashtable for the specified value.
override
Elements() : IEnumeration
Returns an enumeration on the values of this Hashtable.
EntrySet() : ICollection
Returns a set of the mappings contained in this Hashtable.
override
Get(Java.Lang.Object) : Java.Lang.Object
Returns the value associated with the specified key in this Hashtable.
override
Keys() : IEnumeration
Returns an enumeration on the keys of this Hashtable instance.
KeySet() : ICollection
Returns a set of the keys contained in this Hashtable.
override
Put(Java.Lang.Object, Java.Lang.Object) : Java.Lang.Object
Documentation for this section has not yet been entered.
PutAll(IDictionary)
Documentation for this section has not yet been entered.
override
Remove(Java.Lang.Object) : Java.Lang.Object
Removes the key/value pair with the specified key from this Hashtable.
override
Size() : int
Returns the number of key/value pairs in this Hashtable.
Values() : ICollection
Returns a collection of the values contained in this Hashtable.

Protected Methods

Rehash()
Increases the capacity of this Hashtable.