Package com.globalmentor.collections
Interface ReadWriteLockCollection<E>
-
- Type Parameters:
E
- The type of elements in the collection.
- All Superinterfaces:
java.util.Collection<E>
,java.lang.Iterable<E>
,java.util.concurrent.locks.ReadWriteLock
- All Known Subinterfaces:
ReadWriteLockSet<E>
- All Known Implementing Classes:
DecoratorReadWriteLockCollection
,DecoratorReadWriteLockSet
public interface ReadWriteLockCollection<E> extends java.util.Collection<E>, java.util.concurrent.locks.ReadWriteLock
A thread-safe collection that uses a pair of read and write locks to access its data.- Author:
- Garret Wilson