|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Dictionary
java.util.Hashtable
HTTPClient.CIHashtable
This class implements a Hashtable with case-insensitive Strings as keys.
| Nested Class Summary |
| Nested classes inherited from class java.util.Hashtable |
|
| Constructor Summary | |
CIHashtable()
Create a new CIHashtable with a default initial capacity. |
|
CIHashtable(int initialCapacity)
Create a new CIHashtable with the specified initial capacity. |
|
CIHashtable(int initialCapacity,
float loadFactor)
Create a new CIHashtable with the specified initial capacity and the specified load factor. |
|
| Method Summary | |
boolean |
containsKey(String key)
Looks whether any object is associated with the specified key. |
Object |
get(String key)
Retrieves the object associated with the specified key. |
Enumeration |
keys()
Returns an enumeration of all the keys in the Hashtable. |
Object |
put(String key,
Object value)
Stores the specified object with the specified key. |
Object |
remove(String key)
Removes the object associated with this key from the Hashtable. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, rehash, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CIHashtable(int initialCapacity,
float loadFactor)
loadFactor - a number between 0.0 and 1.0java.util.Hashtable(int, float)public CIHashtable(int initialCapacity)
java.util.Hashtable(int)public CIHashtable()
java.util.Hashtable()| Method Detail |
public Object get(String key)
key - the key
java.util.Hashtable.get(Object)
public Object put(String key,
Object value)
key - the keyvalue - the object to be associated with the key
java.util.Hashtable.put(Object, Object)public boolean containsKey(String key)
key - the key
java.util.Hashtable.containsKey(Object)public Object remove(String key)
key - the key
java.util.Hashtable.remove(Object)public Enumeration keys()
java.util.Hashtable.keys(Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||