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, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods 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:
add
in interfaceCollection<Long>
- Specified by:
add
in interfaceSet<Long>
- Overrides:
add
in classConcurrentHashSet<Long>
-