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, retainAll, size, synchronizedCollection, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate 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