public static class WrapperCollections.ConcurrentWrapperEntrySet<K,V> extends WrapperCollections.ConcurrentWrapperSet<Map.Entry<K,V>> implements Set<Map.Entry<K,V>>
Modifier and Type | Field and Description |
---|---|
protected boolean |
m_fStrict
Determines whether or not all of the Entry methods are protected;
if set to true, then all Entry methods are protected.
|
m_colDelegate, m_lock, m_lockExclusive, m_lockShared
Modifier | Constructor and Description |
---|---|
protected |
ConcurrentWrapperEntrySet(Set<Map.Entry<K,V>> set,
ReadWriteLock lock,
boolean fStrict)
Create an ConcurrentWrapperSet which delegates to the specified Set.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Map.Entry<K,V>> |
iterator() |
getDelegate
add, addAll, clear, contains, containsAll, equals, getLock, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, spliterator, toArray, toArray
parallelStream, removeIf, stream
protected final boolean m_fStrict
protected ConcurrentWrapperEntrySet(Set<Map.Entry<K,V>> set, ReadWriteLock lock, boolean fStrict)
set
- the Set to delegate all calls tolock
- a read/write lock for concurrency managementfStrict
- pass true to protect all Entry methods; false to
protect only the setValue() method