static final class ConcurrentHashMapV8.EntrySetView<K,V> extends ConcurrentHashMapV8.CollectionView<K,V,java.util.Map.Entry<K,V>> implements java.util.Set<java.util.Map.Entry<K,V>>, java.io.Serializable
Set of (key, value)
entries. This class cannot be directly instantiated. See
ConcurrentHashMapV8.entrySet().| Modifier and Type | Field and Description |
|---|---|
private static long |
serialVersionUID |
map| Constructor and Description |
|---|
EntrySetView(ConcurrentHashMapV8<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.util.Map.Entry<K,V> e) |
boolean |
addAll(java.util.Collection<? extends java.util.Map.Entry<K,V>> c) |
boolean |
contains(java.lang.Object o) |
boolean |
equals(java.lang.Object o) |
void |
forEach(ConcurrentHashMapV8.Action<? super java.util.Map.Entry<K,V>> action) |
int |
hashCode() |
java.util.Iterator<java.util.Map.Entry<K,V>> |
iterator()
Returns a "weakly consistent" iterator that will never
throw
ConcurrentModificationException, and
guarantees to traverse elements as they existed upon
construction of the iterator, and may (but is not
guaranteed to) reflect any modifications subsequent to
construction. |
boolean |
remove(java.lang.Object o) |
ConcurrentHashMapV8.ConcurrentHashMapSpliterator<java.util.Map.Entry<K,V>> |
spliterator166() |
clear, containsAll, getMap, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitprivate static final long serialVersionUID
EntrySetView(ConcurrentHashMapV8<K,V> map)
public boolean contains(java.lang.Object o)
public boolean remove(java.lang.Object o)
public java.util.Iterator<java.util.Map.Entry<K,V>> iterator()
ConcurrentHashMapV8.CollectionViewConcurrentModificationException, and
guarantees to traverse elements as they existed upon
construction of the iterator, and may (but is not
guaranteed to) reflect any modifications subsequent to
construction.iterator in interface java.lang.Iterable<java.util.Map.Entry<K,V>>iterator in interface java.util.Collection<java.util.Map.Entry<K,V>>iterator in interface java.util.Set<java.util.Map.Entry<K,V>>iterator in class ConcurrentHashMapV8.CollectionView<K,V,java.util.Map.Entry<K,V>>public final int hashCode()
public final boolean equals(java.lang.Object o)
public ConcurrentHashMapV8.ConcurrentHashMapSpliterator<java.util.Map.Entry<K,V>> spliterator166()
public void forEach(ConcurrentHashMapV8.Action<? super java.util.Map.Entry<K,V>> action)