static final class ConcurrentHashMapV8.ValuesView<K,V> extends ConcurrentHashMapV8.CollectionView<K,V,V> implements java.util.Collection<V>, java.io.Serializable
Collection
of
values, in which additions are disabled. This class cannot be
directly instantiated. See ConcurrentHashMapV8.values()
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
map
Constructor and Description |
---|
ValuesView(ConcurrentHashMapV8<K,V> map) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(V e) |
boolean |
addAll(java.util.Collection<? extends V> c) |
boolean |
contains(java.lang.Object o) |
void |
forEach(ConcurrentHashMapV8.Action<? super V> action) |
java.util.Iterator<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<V> |
spliterator166() |
clear, containsAll, getMap, isEmpty, removeAll, retainAll, size, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
private static final long serialVersionUID
ValuesView(ConcurrentHashMapV8<K,V> map)
public final boolean contains(java.lang.Object o)
public final boolean remove(java.lang.Object o)
public final java.util.Iterator<V> iterator()
ConcurrentHashMapV8.CollectionView
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.public final boolean addAll(java.util.Collection<? extends V> c)
addAll
in interface java.util.Collection<V>
public ConcurrentHashMapV8.ConcurrentHashMapSpliterator<V> spliterator166()
public void forEach(ConcurrentHashMapV8.Action<? super V> action)