ariba.util.core
Class EqHashtable

java.lang.Object
  extended by java.util.AbstractMap
      extended by ariba.util.core.Hashtable
          extended by ariba.util.core.EqHashtable
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map
Direct Known Subclasses:
PerformanceState.Stats, ThreadDebugState.StateMap

public class EqHashtable
extends Hashtable

This class extends Hashtable, but provides for pointer hashing and equality instead of hashCode() and equals() equality. in 1.4 this can be replaced by java.util.IdentityHashMap

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
EqHashtable()
          Constructs an empty EqHashtable.
EqHashtable(int initialCapacity)
          Constructs an EqHashtable capable of holding at least initialCapacity elements before needing to grow.
 
Method Summary
 
Methods inherited from class ariba.util.core.Hashtable
clear, clone, contains, containsKey, count, elements, elementsArray, elementsVector, entrySet, fromSerializedString, get, isEmpty, keys, keysArray, keySet, keysVector, put, 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

EqHashtable

public EqHashtable()
Constructs an empty EqHashtable. The Hashtable will grow on demand as more elements are added.


EqHashtable

public EqHashtable(int initialCapacity)
Constructs an EqHashtable capable of holding at least initialCapacity elements before needing to grow.



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