Maps the given key object to the object specified in the specified hashtable object and returns the previous object of the given key object in the specified hashtable object.
Syntax
put( hashtable , key , value )
hashtable.put( key , value )
Parameters
|
hashtable
|
the hashtable object use.
|
|
key
|
the key object to map.
|
|
value
|
the value object to associate.
|
Returns
|
hashtable
|
containing the key, value pair
|
Example
ht = ht.put( key, value )
|