Class SynchronizedMultiSet.SynchronizedSet<T>

java.lang.Object
org.apache.commons.collections4.collection.SynchronizedCollection<T>
org.apache.commons.collections4.multiset.SynchronizedMultiSet.SynchronizedSet<T>
All Implemented Interfaces:
Serializable, Iterable<T>, Collection<T>, Set<T>
Enclosing class:
SynchronizedMultiSet<E>

static class SynchronizedMultiSet.SynchronizedSet<T> extends SynchronizedCollection<T> implements Set<T>
Synchronized Set for the MultiSet class.
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      Serialization version
      See Also:
  • Constructor Details

    • SynchronizedSet

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