API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. Dictionary View Source
Author(s)
unascribed
Since
JDK1.0
Version
1.24, 11/17/05
Serial
Hierarchy
 Object
      Dictionary
Implements
Subclasses
Description
publicabstract abstract class Dictionary
  The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to values.
Constructors
public Dictionary ()
  Sole constructor.
Methods
Hide/Show inherited methods
publicabstract Enumeration< V> elements ()
  Returns an enumeration of the values in this dictionary.
publicabstract V get (Object key)
  Returns the value to which the key is mapped in this dictionary.
publicabstract boolean isEmpty ()
  Tests if this dictionary maps no keys to value.
publicabstract Enumeration< K> keys ()
  Returns an enumeration of the keys in this dictionary.
publicabstract V put ( K key, V value)
  Maps the specified key to the specified value in this dictionary.
publicabstract V remove (Object key)
  Removes the key (and its corresponding value) from this dictionary.
publicabstract int size ()
  Returns the number of entries (distinct keys) in this dictionary.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar