Class SynchronizedMultiSet.SynchronizedSet<T>
java.lang.Object
org.apache.commons.collections4.collection.SynchronizedCollection<T>
org.apache.commons.collections4.multiset.SynchronizedMultiSet.SynchronizedSet<T>
- Type Parameters:
T- the type held in this Set.
- 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 longSerialization 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, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDSerialization version- See Also:
-
-
Constructor Details
-
SynchronizedSet
Constructs a new instance.- Parameters:
set- the set to decoratelock- the lock to use, shared with the multiset
-