Module openj9.dtfj

Class AbstractHashMap

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:
  • Constructor Details

    • AbstractHashMap

      public AbstractHashMap()
  • Method Details

    • 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.