Returns a new hashtable object of specified capacity and load factor.
Syntax
Hashtable( )
Hashtable( initialcapacity )
Hashtable( initialcapacity , loadfactor )
Parameters
initialcapacity
|
the initial capacity of the hashtable.
|
loadfactor
|
the initial load factor, a number between 0.0 and 1.0.
|
Returns
hashtable
|
a new hashtable object.
|
Example
ht = Hashtable( )
|