The java.util.Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to values.Following are the important points about Dictionary:
In this class every key and every value is an object.
In his class object every key is associated with at most one value.
Following is the declaration for java.util.Dictionary class:
public abstract class Dictionary<K,V> extends Object
|S.N.||Constructor & Description|
This is the single constructor.
|S.N.||Method & Description|
This method returns an enumeration of the values in this dictionary.
This method returns the value to which the key is mapped in this dictionary.
This method tests if this dictionary maps no keys to value.
This method returns an enumeration of the keys in this dictionary.
This method maps the specified key to the specified value in this dictionary.
This method removes the key (and its corresponding value) from this dictionary.
This method returns the number of entries (distinct keys) in this dictionary.
This class inherits methods from the following classes: