ariba.ui.aribaweb.util
Class AWStringKeyHashtable
java.lang.Object
java.util.AbstractMap
ariba.util.core.Hashtable
ariba.ui.aribaweb.util.AWStringKeyHashtable
- All Implemented Interfaces:
- Externalizable, Serializable, Cloneable, Map
public final class AWStringKeyHashtable
- extends Hashtable
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from class ariba.util.core.Hashtable |
clear, clone, contains, containsKey, count, elements, elementsArray, elementsVector, entrySet, fromSerializedString, isEmpty, keys, keysArray, keySet, keysVector, readExternal, remove, removeElement, size, toSerializedString, toString, toStringArray, values, writeExternal |
AWStringKeyHashtable
public AWStringKeyHashtable()
AWStringKeyHashtable
public AWStringKeyHashtable(int initCapacity)
put
public Object put(Object key,
Object element)
- Description copied from class:
Hashtable
- Places the key/element pair in the Hashtable. If
there is a key in the Hashtable matching key the
corresponding element in the Hashtable is replaced by the
specified element
- Specified by:
put in interface Map- Overrides:
put in class Hashtable
- Parameters:
key - the key to place into the Hashtable; may not be
nullelement - the element to place into the Hashtable; may
not be null
- Returns:
- the element previously associated with the key if any,
null otherwise.
get
public Object get(Object key)
- Description copied from class:
Hashtable
- Searches the Hashtable and returns the element associated with
the matched key.
- Specified by:
get in interface Map- Overrides:
get in class Hashtable
- Parameters:
key - the key to search the hashtable's keys
for. Hashtable hashes and compares key using
hashCode() and equals().
- Returns:
- the element associated with the key. This
method returns null if the Hashtable does not contain
key.
put
public Object put(String key,
Object element)
get
public Object get(String key)
get
public Object get(String key,
boolean ignoresCase)
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.