Package com.pnfsoftware.jeb.util.collect
Class AddressHashSet
java.lang.Object
com.pnfsoftware.jeb.util.collect.ConcurrentHashSet<Long>
com.pnfsoftware.jeb.util.collect.AddressHashSet
A concurrent set whose values are 'addresses' hardcoded as
unsigned long.-
Constructor Summary
ConstructorsConstructorDescriptionAddressHashSet(int bitsize) Create a segment-map designed to hold memory keys as addresses. -
Method Summary
Methods inherited from class com.pnfsoftware.jeb.util.collect.ConcurrentHashSet
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
spliterator
-
Constructor Details
-
AddressHashSet
public AddressHashSet(int bitsize) Create a segment-map designed to hold memory keys as addresses.- Parameters:
bitsize- in [1, 64]
-
-
Method Details
-
add
- Specified by:
addin interfaceCollection<Long>- Specified by:
addin interfaceSet<Long>- Overrides:
addin classConcurrentHashSet<Long>
-