Interface ReadWriteLockSet<E>

  • Type Parameters:
    E - The type of elements in the set.
    All Superinterfaces:
    java.util.Collection<E>, java.lang.Iterable<E>, java.util.concurrent.locks.ReadWriteLock, ReadWriteLockCollection<E>, java.util.Set<E>
    All Known Implementing Classes:
    DecoratorReadWriteLockSet

    public interface ReadWriteLockSet<E>
    extends ReadWriteLockCollection<E>, java.util.Set<E>
    A thread-safe set 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

        parallelStream, removeIf, stream, toArray
      • Methods inherited from interface java.lang.Iterable

        forEach
      • Methods inherited from interface java.util.concurrent.locks.ReadWriteLock

        readLock, writeLock
      • Methods inherited from interface java.util.Set

        add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArray