public static class WrapperCollections.ConcurrentWrapperSet<E> extends WrapperCollections.ConcurrentWrapperCollection<E> implements Set<E>
m_colDelegate, m_lock, m_lockExclusive, m_lockShared| Modifier | Constructor and Description |
|---|---|
|
ConcurrentWrapperSet(Set<E> set)
Create an ConcurrentWrapperSet which delegates to the specified Set.
|
protected |
ConcurrentWrapperSet(Set<E> set,
ReadWriteLock lock)
Create an ConcurrentWrapperSet which delegates to the specified Set.
|
| Modifier and Type | Method and Description |
|---|---|
protected Set<E> |
getDelegate()
Return the Set to which all operations should be delegated to.
|
add, addAll, clear, contains, containsAll, equals, getLock, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic ConcurrentWrapperSet(Set<E> set)
set - the Set to delegate all calls toprotected ConcurrentWrapperSet(Set<E> set, ReadWriteLock lock)
set - the Set to delegate all calls tolock - a read/write lock for concurrency managementprotected Set<E> getDelegate()
getDelegate in class WrapperCollections.ConcurrentWrapperCollection<E>