Class DBCachedObjectStoreValueSubCollection<T extends DBAnnotatedObject>
java.lang.Object
ghidra.util.database.DBCachedObjectStoreValueCollection<T>
ghidra.util.database.DBCachedObjectStoreValueSubCollection<T>
- All Implemented Interfaces:
Iterable<T>, Collection<T>
public class DBCachedObjectStoreValueSubCollection<T extends DBAnnotatedObject>
extends DBCachedObjectStoreValueCollection<T>
This is the sub-ranged form of
DBCachedObjectStoreValueCollection
For example, this can be obtained via store.asMap().subMap(...).values().
-
Field Summary
FieldsFields inherited from class DBCachedObjectStoreValueCollection
direction, errHandler, lock, store -
Constructor Summary
ConstructorsConstructorDescriptionDBCachedObjectStoreValueSubCollection(DBCachedObjectStore<T> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction, KeySpan keySpan) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleanbooleancontainsAll(Collection<?> c) booleanisEmpty()iterator()booleanbooleanremoveAll(Collection<?> c) booleanretainAll(Collection<?> c) intsize()Object[]toArray()<U> U[]toArray(U[] a) Methods inherited from class DBCachedObjectStoreValueCollection
add, addAllMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Collection
equals, hashCode, parallelStream, removeIf, spliterator, stream, toArray
-
Field Details
-
keySpan
-
-
Constructor Details
-
DBCachedObjectStoreValueSubCollection
public DBCachedObjectStoreValueSubCollection(DBCachedObjectStore<T> store, ErrorHandler errHandler, ReadWriteLock lock, DirectedIterator.Direction direction, KeySpan keySpan)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<T extends DBAnnotatedObject>- Overrides:
sizein classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
isEmptyin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
contains
- Specified by:
containsin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
containsin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
iterator
- Specified by:
iteratorin interfaceCollection<T extends DBAnnotatedObject>- Specified by:
iteratorin interfaceIterable<T extends DBAnnotatedObject>- Overrides:
iteratorin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
toArray
- Specified by:
toArrayin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
toArrayin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
toArray
public <U> U[] toArray(U[] a) - Specified by:
toArrayin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
toArrayin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
remove
- Specified by:
removein interfaceCollection<T extends DBAnnotatedObject>- Overrides:
removein classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
containsAll
- Specified by:
containsAllin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
containsAllin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
removeAll
- Specified by:
removeAllin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
removeAllin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
retainAll
- Specified by:
retainAllin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
retainAllin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-
clear
public void clear()- Specified by:
clearin interfaceCollection<T extends DBAnnotatedObject>- Overrides:
clearin classDBCachedObjectStoreValueCollection<T extends DBAnnotatedObject>
-