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:
java.io.Serializable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.Set<T>
- Enclosing class:
- SynchronizedMultiSet<E>
static class SynchronizedMultiSet.SynchronizedSet<T> extends SynchronizedCollection<T> implements java.util.Set<T>
Synchronized Set for the MultiSet class.
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
Serialization version-
Fields inherited from class org.apache.commons.collections4.collection.SynchronizedCollection
lock
-
-
Constructor Summary
Constructors Constructor Description SynchronizedSet(java.util.Set<T> set, java.lang.Object lock)
Constructor.
-
Method Summary
-
Methods inherited from class org.apache.commons.collections4.collection.SynchronizedCollection
add, addAll, clear, contains, containsAll, decorated, equals, hashCode, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, synchronizedCollection, toArray, toArray, toString
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
Serialization version- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SynchronizedSet
SynchronizedSet(java.util.Set<T> set, java.lang.Object lock)
Constructor.- Parameters:
set
- the set to decoratelock
- the lock to use, shared with the multiset
-
-