Packages This Package Prev Next Index
public  abstract  class  java.util.Dictionary
    extends  java.lang.Object  (I-§1.12)
{
        // Constructors
    public Dictionary();	§3.3.1
        // Methods
    public abstract Enumeration elements();	§3.3.2
    public abstract Object get(Object  key);	§3.3.3
    public abstract boolean isEmpty();	§3.3.4
    public abstract Enumeration keys();	§3.3.5
    public abstract Object put(Object  key, Object  value)	§3.3.6
    public abstract Object remove(Object  key);	§3.3.7
    public abstract int size();	§3.3.8
}
The Dictionary class is the abstract parent of any class, such as Hashtable (I-§3.4), which 
maps keys to values. Any non-null object can be used as a key and as a value.
As a rule, the equals method (I-§1.12.3) should be used by implements of this class to decide if two keys are the same.
public Dictionary()
public abstract Enumeration elements()
public abstract Object get(Object  key)
key
- a key in this dictionary
public abstract boolean isEmpty()
public abstract Enumeration keys()
public abstract Object put(Object  key, Object  value)
key
- the hashtable key
value
- the value.
public abstract Object remove(Object  key)
key
- the key that needs to be removed
public abstract int size()
Packages This Package Prev Next IndexJava API Document (HTML generated by dkramer on April 22, 1996)