Package com.pnfsoftware.jeb.util.collect
Class AddressTreeSet
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<Long>
,Collection<Long>
,NavigableSet<Long>
,Set<Long>
,SortedSet<Long>
A concurrent ordered set whose values are 'addresses' hardcoded as
unsigned long
.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAddressTreeSet
(int bitsize) Create a map designed to hold memory keys as addresses. -
Method Summary
Methods inherited from class java.util.concurrent.ConcurrentSkipListSet
ceiling, clear, clone, comparator, contains, descendingIterator, descendingSet, equals, first, floor, headSet, headSet, higher, isEmpty, iterator, last, lower, pollFirst, pollLast, remove, removeAll, size, spliterator, subSet, subSet, tailSet, tailSet
Methods inherited from class java.util.AbstractSet
hashCode
Methods inherited from class java.util.AbstractCollection
addAll, containsAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Constructor Details
-
AddressTreeSet
public AddressTreeSet(int bitsize) Create a 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 classConcurrentSkipListSet<Long>
-