Class SynchronizedMultiSet.SynchronizedSet<T>

    • Constructor Detail

      • SynchronizedSet

        SynchronizedSet​(Set<T> set,
                        Object lock)
        Constructor.
        Parameters:
        set - the set to decorate
        lock - the lock to use, shared with the multiset