Class SynchronizedBag.SynchronizedBagSet
java.lang.Object
org.apache.commons.collections4.collection.SynchronizedCollection<E>
org.apache.commons.collections4.bag.SynchronizedBag.SynchronizedBagSet
- All Implemented Interfaces:
Serializable
,Iterable<E>
,Collection<E>
,Set<E>
- Enclosing class:
SynchronizedBag<E>
Synchronized Set for the Bag 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
-
SynchronizedBagSet
Constructor.- Parameters:
set
- the set to decoratelock
- the lock to use, shared with the bag
-