class SynchronizedBag.SynchronizedBagSet extends SynchronizedCollection<E> implements java.util.Set<E>
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID
Serialization version
|
lock
Constructor and Description |
---|
SynchronizedBagSet(java.util.Set<E> set,
java.lang.Object lock)
Constructor.
|
add, addAll, clear, contains, containsAll, decorated, equals, hashCode, isEmpty, iterator, remove, removeAll, removeIf, retainAll, size, synchronizedCollection, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
SynchronizedBagSet(java.util.Set<E> set, java.lang.Object lock)
set
- the set to decoratelock
- the lock to use, shared with the bag