Team LiB
Previous Section Next Section

Dictionary<K,V>java.util

Java 1.0

This abstract class is the superclass of Hashtable. Other hashtable-like data structures might also extend this class. See Hashtable for more information. As of Java 1.2, the Map interface replaces the functionality of this class.

public abstract class Dictionary<K,V> {
// Public Constructors
     public Dictionary( );  
// Public Instance Methods
     public abstract Enumeration<V> elements( );  
     public abstract V get(Object key);  
     public abstract boolean isEmpty( );  
     public abstract Enumeration<K> keys( );  
     public abstract V put(K key, V value);  
     public abstract V remove(Object key);  
     public abstract int size( );  
}

Subclasses

Hashtable

    Team LiB
    Previous Section Next Section