Package ghidra.util.database
Class DBCachedObjectStoreKeySet
java.lang.Object
ghidra.util.database.DBCachedObjectStoreKeySet
- All Implemented Interfaces:
Iterable<Long>,Collection<Long>,NavigableSet<Long>,SequencedCollection<Long>,SequencedSet<Long>,Set<Long>,SortedSet<Long>
- Direct Known Subclasses:
DBCachedObjectStoreKeySubSet
This provides the implementation of
Map.keySet() for DBCachedObjectStore.asMap()-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DirectedIterator.Directionprotected final ErrorHandlerprotected final ReadWriteLockprotected final DBCachedObjectStore<?> -
Constructor Summary
ConstructorsConstructorDescriptionDBCachedObjectStoreKeySet(DBCachedObjectStore<?> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Long> c) voidclear()Comparator<? super Long> booleanbooleancontainsAll(Collection<?> c) first()booleanisEmpty()iterator()last()pollLast()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<T> T[]toArray(T[] a) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.NavigableSet
removeFirst, removeLast, reversed
-
Field Details
-
store
-
errHandler
-
lock
-
direction
-
-
Constructor Details
-
DBCachedObjectStoreKeySet
public DBCachedObjectStoreKeySet(DBCachedObjectStore<?> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction)
-
-
Method Details
-
size
public int size() -
isEmpty
public boolean isEmpty() -
contains
-
iterator
-
toArray
-
toArray
public <T> T[] toArray(T[] a) -
add
-
remove
-
containsAll
- Specified by:
containsAllin interfaceCollection<Long>- Specified by:
containsAllin interfaceSet<Long>
-
addAll
-
retainAll
-
removeAll
-
clear
public void clear() -
comparator
- Specified by:
comparatorin interfaceSortedSet<Long>
-
first
-
last
-
lower
- Specified by:
lowerin interfaceNavigableSet<Long>
-
floor
- Specified by:
floorin interfaceNavigableSet<Long>
-
ceiling
- Specified by:
ceilingin interfaceNavigableSet<Long>
-
higher
- Specified by:
higherin interfaceNavigableSet<Long>
-
pollFirst
- Specified by:
pollFirstin interfaceNavigableSet<Long>
-
pollLast
- Specified by:
pollLastin interfaceNavigableSet<Long>
-
descendingSet
- Specified by:
descendingSetin interfaceNavigableSet<Long>
-
descendingIterator
- Specified by:
descendingIteratorin interfaceNavigableSet<Long>
-
subSet
public DBCachedObjectStoreKeySubSet subSet(Long fromElement, boolean fromInclusive, Long toElement, boolean toInclusive) - Specified by:
subSetin interfaceNavigableSet<Long>
-
headSet
- Specified by:
headSetin interfaceNavigableSet<Long>
-
tailSet
- Specified by:
tailSetin interfaceNavigableSet<Long>
-
subSet
-
headSet
-
tailSet
-