static final class EquivalentConcurrentHashMapV8.ValuesView<K,V> extends EquivalentConcurrentHashMapV8.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 EquivalentConcurrentHashMapV8.values()
.Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
map
Constructor and Description |
---|
EquivalentConcurrentHashMapV8.ValuesView(EquivalentConcurrentHashMapV8<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(EquivalentConcurrentHashMapV8.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) |
EquivalentConcurrentHashMapV8.ConcurrentHashMapSpliterator<V> |
spliteratorV8() |
clear, containsAll, getMap, isEmpty, removeAll, retainAll, size, toArray, toArray, toString
private static final long serialVersionUID
EquivalentConcurrentHashMapV8.ValuesView(EquivalentConcurrentHashMapV8<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()
EquivalentConcurrentHashMapV8.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 EquivalentConcurrentHashMapV8.ConcurrentHashMapSpliterator<V> spliteratorV8()
public void forEach(EquivalentConcurrentHashMapV8.Action<? super V> action)