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
This is a lightweight class to hold a set of integer values.
- See Also:
-
Constructor Summary
-
Method Summary
Methods declared in class com.ibm.j9ddr.corereaders.tdump.zebedee.util.AbstractHashMap
getKeys, getKeysArray, size
-
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()
-