Class AbstractHashMap
java.lang.Object
com.ibm.dtfj.corereaders.zos.util.AbstractHashMap
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AbstractLruCache
,IntegerMap
,ObjectMap
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:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetKeys()
Return an enumeration of the keys in this map.long[]
Return an array containing the keys.
-
Constructor Details
-
AbstractHashMap
public AbstractHashMap()
-
-
Method Details
-
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.
-