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 Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Serialization versionFields inherited from class org.apache.commons.collections4.collection.SynchronizedCollection
lock
-
Constructor Summary
Constructors -
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
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version- See Also:
-
-
Constructor Details
-
SynchronizedSet
Constructor.- Parameters:
set
- the set to decoratelock
- the lock to use, shared with the multiset
-