DictionaryNameDictionarySynopsis
DescriptionThe Dictionary class is an abstract class that associates keys with values. Any non-null object can be used as a key or as a value. Key/value pairs can be stored in a Dictionary, and values can be retrieved or removed using their associated keys. A subclass of Dictionary should use the equals() method to decide if two keys are equivalent. Class Summary
public abstract class java.util.Dictionary extends java.lang.Object { // Instance Methods public abstract Enumeration elements(); public abstract Object get(Object key); public abstract boolean isEmpty(); public abstract Enumeration keys(); public abstract Object put(Object key, Object value); public abstract Object remove(Object key); public abstract int size(); } Instance Methodselementspublic abstract Enumeration elements()
getpublic abstract Object get(Object key)
isEmptypublic abstract boolean isEmpty()
keyspublic abstract Enumeration keys()
putpublic abstract Object put(Object key, Object value)
removepublic abstract Object remove(Object key)
sizepublic abstract int size()
Inherited Methods
See AlsoEnumeration, Hashtable, NullPointerException |
|