Class ConcurrentSetWrapper<E,W extends Set<E>>

All Implemented Interfaces:
Iterable<E>, Collection<E>, Set<E>, SizedCollection

public class ConcurrentSetWrapper<E,W extends Set<E>> extends ConcurrentCollectionWrapper<E,W> implements Set<E>
  • Constructor Details

    • ConcurrentSetWrapper

      protected ConcurrentSetWrapper(@NotNull W wrapped, @NotNull @NotNull Lock readLock, @NotNull @NotNull Lock writeLock)
  • Method Details

    • create

      @NotNull public static <E> @NotNull Set<E> create(@NonNull @NonNull Set<E> wrapped)