Method Summary |
|
public synchronized void | clear() Clears this lookuptable so that it contains no keys. |
public synchronized Object | clone() Creates a shallow copy of this lookuptable. |
public synchronized boolean | contains(Object value) Tests if some key maps into the specified value in this lookuptable.
Parameters: value - a value to search for. |
public synchronized boolean | containsKey(Object key) Tests if the specified object is a key in this lookuptable.
Parameters: key - possible key. |
public synchronized Enumeration | elements() Returns an enumeration of the values in this lookuptable. |
public synchronized Object | get(Object key) Returns the value to which the specified key is mapped in this
lookuptable.
Parameters: key - a key in the lookuptable. |
protected void | grow() Increases the capacity. |
public boolean | isEmpty() Tests if this lookuptable maps no keys to values. |
public synchronized Enumeration | keys() Returns an enumeration of the keys in this lookuptable. |
public synchronized Object | put(Object key, Object value) Maps the specified key to the specified
value in this lookuptable. |
public synchronized Object | remove(Object key) Removes the key (and its corresponding value) from this
lookuptable. |
public int | size() Returns the number of keys in this lookuptable. |
public synchronized String | toString() Returns a string representation of this Lookuptable object
in the form of a set of entries, enclosed in braces and separated
by the ASCII characters ", " (comma and space). |