ariba.ui.aribaweb.util
Class AWStringKeyHashtable

java.lang.Object
  extended by java.util.AbstractMap
      extended by ariba.util.core.Hashtable
          extended by ariba.ui.aribaweb.util.AWStringKeyHashtable
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map

public final class AWStringKeyHashtable
extends Hashtable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
AWStringKeyHashtable()
           
AWStringKeyHashtable(int initCapacity)
           
 
Method Summary
 java.lang.Object get(java.lang.Object key)
          Searches the Hashtable and returns the element associated with the matched key.
 java.lang.Object get(java.lang.String key)
           
 java.lang.Object get(java.lang.String key, boolean ignoresCase)
           
 java.lang.Object put(java.lang.Object key, java.lang.Object element)
          Places the key/element pair in the Hashtable.
 java.lang.Object put(java.lang.String key, java.lang.Object element)
           
 
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
 
Methods inherited from class java.util.AbstractMap
containsValue, equals, hashCode, putAll
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AWStringKeyHashtable

public AWStringKeyHashtable()

AWStringKeyHashtable

public AWStringKeyHashtable(int initCapacity)
Method Detail

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.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 java.util.Map
Overrides:
put in class Hashtable
Parameters:
key - the key to place into the Hashtable; may not be null
element - 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 java.lang.Object get(java.lang.Object key)
Description copied from class: Hashtable
Searches the Hashtable and returns the element associated with the matched key.

Specified by:
get in interface java.util.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 java.lang.Object put(java.lang.String key,
                            java.lang.Object element)

get

public java.lang.Object get(java.lang.String key)

get

public java.lang.Object get(java.lang.String key,
                            boolean ignoresCase)


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.