Class SynchronizedBag.SynchronizedBagSet
java.lang.Object
org.apache.commons.collections.collection.SynchronizedCollection
org.apache.commons.collections.set.SynchronizedSet
org.apache.commons.collections.bag.SynchronizedBag.SynchronizedBagSet
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
,Set
- Enclosing class:
- SynchronizedBag
Synchronized Set for the Bag class.
-
Field Summary
Fields inherited from class org.apache.commons.collections.collection.SynchronizedCollection
collection, lock
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.commons.collections.set.SynchronizedSet
decorate, getSet
Methods inherited from class org.apache.commons.collections.collection.SynchronizedCollection
add, addAll, clear, contains, containsAll, decorate, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, 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, toArray
-
Constructor Details
-
SynchronizedBagSet
Constructor.- Parameters:
set
- the set to decoratelock
- the lock to use, shared with the bag
-