| java.lang.Object java.util.Dictionary com.jclark.util.Hashtable
Hashtable | public class Hashtable extends java.util.Dictionary (Code) | | A more efficient version of java.util.Hashtable
It is not synchronized. It only performs allocation when
the hash table is resized.
|
Constructor Summary | |
public | Hashtable() | public | Hashtable(int n) Creates a hash table with the specified initial capacity. |
Hashtable | public Hashtable()(Code) | | |
Hashtable | public Hashtable(int n)(Code) | | Creates a hash table with the specified initial capacity.
|
clear | final public void clear()(Code) | | Removes all objects from the hash table, so that the hash table
becomes empty.
|
isEmpty | final public boolean isEmpty()(Code) | | |
remove | final public Object remove(Object key)(Code) | | Removes the object with the specified key from the table.
Returns the object removed or null if there was no such object
in the table.
|
size | final public int size()(Code) | | |
|
|