Class DBCachedObjectStoreKeySubSet
java.lang.Object
ghidra.util.database.DBCachedObjectStoreKeySet
ghidra.util.database.DBCachedObjectStoreKeySubSet
- All Implemented Interfaces:
Iterable<Long>, Collection<Long>, NavigableSet<Long>, SequencedCollection<Long>, SequencedSet<Long>, Set<Long>, SortedSet<Long>
This is the sub-ranged form of
DBCachedObjectStoreKeySubSet
For example, this can be obtained via store.asMap().subMap(...).keySet() or
map.keySet().subSet(...).
-
Field Summary
FieldsFields inherited from class DBCachedObjectStoreKeySet
direction, errHandler, lock, store -
Constructor Summary
ConstructorsConstructorDescriptionDBCachedObjectStoreKeySubSet(DBCachedObjectStore<?> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction, KeySpan keySpan) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleancontainsAll(Collection<?> c) first()booleanisEmpty()iterator()last()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class DBCachedObjectStoreKeySet
add, addAll, comparator, headSet, pollFirst, pollLast, subSet, tailSetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface NavigableSet
removeFirst, removeLast, reversed
-
Field Details
-
keySpan
-
-
Constructor Details
-
DBCachedObjectStoreKeySubSet
public DBCachedObjectStoreKeySubSet(DBCachedObjectStore<?> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction, KeySpan keySpan)
-
-
Method Details
-
first
-
last
-
size
public int size()- Specified by:
sizein interfaceCollection<Long>- Specified by:
sizein interfaceSet<Long>- Overrides:
sizein classDBCachedObjectStoreKeySet
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<Long>- Specified by:
isEmptyin interfaceSet<Long>- Overrides:
isEmptyin classDBCachedObjectStoreKeySet
-
contains
- Specified by:
containsin interfaceCollection<Long>- Specified by:
containsin interfaceSet<Long>- Overrides:
containsin classDBCachedObjectStoreKeySet
-
toArray
- Specified by:
toArrayin interfaceCollection<Long>- Specified by:
toArrayin interfaceSet<Long>- Overrides:
toArrayin classDBCachedObjectStoreKeySet
-
toArray
public <T> T[] toArray(T[] a) - Specified by:
toArrayin interfaceCollection<Long>- Specified by:
toArrayin interfaceSet<Long>- Overrides:
toArrayin classDBCachedObjectStoreKeySet
-
remove
- Specified by:
removein interfaceCollection<Long>- Specified by:
removein interfaceSet<Long>- Overrides:
removein classDBCachedObjectStoreKeySet
-
containsAll
- Specified by:
containsAllin interfaceCollection<Long>- Specified by:
containsAllin interfaceSet<Long>- Overrides:
containsAllin classDBCachedObjectStoreKeySet
-
retainAll
- Specified by:
retainAllin interfaceCollection<Long>- Specified by:
retainAllin interfaceSet<Long>- Overrides:
retainAllin classDBCachedObjectStoreKeySet
-
removeAll
- Specified by:
removeAllin interfaceCollection<Long>- Specified by:
removeAllin interfaceSet<Long>- Overrides:
removeAllin classDBCachedObjectStoreKeySet
-
clear
public void clear()- Specified by:
clearin interfaceCollection<Long>- Specified by:
clearin interfaceSet<Long>- Overrides:
clearin classDBCachedObjectStoreKeySet
-
lower
- Specified by:
lowerin interfaceNavigableSet<Long>- Overrides:
lowerin classDBCachedObjectStoreKeySet
-
floor
- Specified by:
floorin interfaceNavigableSet<Long>- Overrides:
floorin classDBCachedObjectStoreKeySet
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<Long>- Overrides:
ceilingin classDBCachedObjectStoreKeySet
-
higher
- Specified by:
higherin interfaceNavigableSet<Long>- Overrides:
higherin classDBCachedObjectStoreKeySet
-
iterator
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<Long>- Overrides:
descendingSetin classDBCachedObjectStoreKeySet
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<Long>- Overrides:
descendingIteratorin classDBCachedObjectStoreKeySet
-
subSet
public DBCachedObjectStoreKeySubSet subSet(Long fromElement, boolean fromInclusive, Long toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<Long>- Overrides:
subSetin classDBCachedObjectStoreKeySet
-
headSet
- Specified by:
headSetin interfaceNavigableSet<Long>- Overrides:
headSetin classDBCachedObjectStoreKeySet
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<Long>- Overrides:
tailSetin classDBCachedObjectStoreKeySet
-