Package com.globalmentor.collections
Interface ReadWriteLockCollection<E>
- Type Parameters:
E
- The type of elements in the collection.
- All Superinterfaces:
Collection<E>
,Iterable<E>
,ReadWriteLock
- All Known Subinterfaces:
ReadWriteLockSet<E>
- All Known Implementing Classes:
DecoratorReadWriteLockCollection
,DecoratorReadWriteLockSet
A thread-safe collection that uses a pair of read and write locks to access its data.
- Author:
- Garret Wilson
-
Method Summary
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArray
Methods inherited from interface java.util.concurrent.locks.ReadWriteLock
readLock, writeLock