Class WrapperCollections.ConcurrentWrapperSet<E>

    • Constructor Detail

      • ConcurrentWrapperSet

        public ConcurrentWrapperSet​(Set<E> set)
        Create an ConcurrentWrapperSet which delegates to the specified Set.
        Parameters:
        set - the Set to delegate all calls to
      • ConcurrentWrapperSet

        protected ConcurrentWrapperSet​(Set<E> set,
                                       ReadWriteLock lock)
        Create an ConcurrentWrapperSet which delegates to the specified Set.
        Parameters:
        set - the Set to delegate all calls to
        lock - a read/write lock for concurrency management