- java.lang.Object
-
- com.ibm.dtfj.corereaders.zos.util.AbstractHashMap
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractLruCache
,IntegerMap
,ObjectMap
public abstract class AbstractHashMap extends Object implements Serializable
This is the superclass of a variety of subclasses which provide hash map functionality using integer keys rather than objects. This class uses open addressing with double hashing and has a reasonably small footprint.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractHashMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntEnumeration
getKeys()
Return an enumeration of the keys in this map.long[]
getKeysArray()
Return an array containing the keys.
-
-
-
Method Detail
-
getKeys
public IntEnumeration getKeys()
Return an enumeration of the keys in this map.IntEnumeration
is similar to Enumeration except that it also provides a nextInt() method to return a primitive value.
-
getKeysArray
public long[] getKeysArray()
Return an array containing the keys.
-
-