| java.util.Hashtable HTTPClient.CIHashtable
CIHashtable | class CIHashtable extends Hashtable (Code) | | This class implements a Hashtable with case-insensitive Strings as keys.
version: 0.3-2 18/06/1999 author: Ronald Tschalär |
Constructor Summary | |
public | CIHashtable(int initialCapacity, float loadFactor) Create a new CIHashtable with the specified initial capacity and the
specified load factor. | public | CIHashtable(int initialCapacity) Create a new CIHashtable with the specified initial capacity. | public | CIHashtable() Create a new CIHashtable with a default initial capacity. |
Method Summary | |
public boolean | containsKey(String key) Looks whether any object is associated with the specified key. | public Object | get(String key) Retrieves the object associated with the specified key. | public Enumeration | keys() Returns an enumeration of all the keys in the Hashtable. | public Object | put(String key, Object value) Stores the specified object with the specified key. | public Object | remove(String key) Removes the object associated with this key from the Hashtable. |
CIHashtable | public CIHashtable(int initialCapacity, float loadFactor)(Code) | | Create a new CIHashtable with the specified initial capacity and the
specified load factor.
Parameters: intialCapacity - the initial number of buckets Parameters: loadFactor - a number between 0.0 and 1.0 See Also: java.util.Hashtable(int, float) |
CIHashtable | public CIHashtable(int initialCapacity)(Code) | | Create a new CIHashtable with the specified initial capacity.
Parameters: intialCapacity - the initial number of buckets See Also: java.util.Hashtable(int) |
CIHashtable | public CIHashtable()(Code) | | Create a new CIHashtable with a default initial capacity.
See Also: java.util.Hashtable() |
containsKey | public boolean containsKey(String key)(Code) | | Looks whether any object is associated with the specified key. The
key lookup is case insensitive.
Parameters: key - the key true is there is an object associated with key, false otherwise See Also: java.util.Hashtable.containsKey(Object) |
get | public Object get(String key)(Code) | | Retrieves the object associated with the specified key. The key lookup
is case-insensitive.
Parameters: key - the key the object associated with the key, or null if none found. See Also: java.util.Hashtable.get(Object) |
keys | public Enumeration keys()(Code) | | Returns an enumeration of all the keys in the Hashtable.
the requested Enumerator See Also: java.util.Hashtable.keys(Object) |
put | public Object put(String key, Object value)(Code) | | Stores the specified object with the specified key.
Parameters: key - the key Parameters: value - the object to be associated with the key the object previously associated with the key, or null ifthere was none. See Also: java.util.Hashtable.put(Object, Object) |
remove | public Object remove(String key)(Code) | | Removes the object associated with this key from the Hashtable. The
key lookup is case insensitive.
Parameters: key - the key the object associated with this key, or null if there was none. See Also: java.util.Hashtable.remove(Object) |
|
|