set(java.lang.Object key,
java.lang.Object item)
Put an item into this dictionary, possibly replacing
a previous item that was there by the same key
(although such behavior is defined by the implementation).
Remove and item from this dictionary. If the item exists multiple
times under different keys, only one occurrence is removed;
it is undetermined which of the multiple occurrences will be removed.
Put an item into this dictionary, possibly replacing
a previous item that was there by the same key
(although such behavior is defined by the implementation).
The Object.hashCode() method is used to hash the key.
Unlike Hashtable, a Dictionary allows
the key and value to be null.
Parameters:
key - the key by which the item may be retrieved later.