DthingApi
|
Public Member Functions | |
Dictionary () | |
abstract Enumeration< V > | elements () |
abstract V | get (Object key) |
abstract boolean | isEmpty () |
abstract Enumeration< K > | keys () |
abstract V | put (K key, V value) |
abstract V | remove (Object key) |
abstract int | size () |
Note: Do not use this class since it is obsolete. Please use the Map interface for new implementations.
Dictionary is an abstract class which is the superclass of all classes that associate keys with values, such as
.
|
inline |
Constructs a new instance of this class.
|
abstract |
Returns an enumeration on the elements of this dictionary.
|
abstract |
Returns the value which is associated with
.
key | the key of the value returned. |
|
abstract |
Returns true if this dictionary has no key/value pairs.
|
abstract |
Returns an enumeration on the keys of this dictionary.
|
abstract |
Associate
with
in this dictionary. If
exists in the dictionary before this call, the old value in the dictionary is replaced by
.
key | the key to add. |
value | the value to add. |
|
abstract |
|
abstract |