Module openj9.dtfj

Class IntegerSet

java.lang.Object
com.ibm.j9ddr.corereaders.tdump.zebedee.util.AbstractHashMap
com.ibm.j9ddr.corereaders.tdump.zebedee.util.IntegerSet
All Implemented Interfaces:
Serializable

public final class IntegerSet extends AbstractHashMap
This is a lightweight class to hold a set of integer values.
See Also:
  • Constructor Details

    • IntegerSet

      public IntegerSet()
  • Method Details

    • contains

      public boolean contains(long key)
      Returns:
      true if the set contains the given key
    • add

      public void add(long key)
      Add the key to the set.
    • remove

      public void remove(long key)
      Remove the key from the set.
    • memoryUsage

      public int memoryUsage()