static final class ConcurrentHashMapV8.ValuesView<K,V> extends ConcurrentHashMapV8.CollectionView<K,V,V> implements Collection<V>, Serializable
Collection of
values, in which additions are disabled. This class cannot be
directly instantiated. See ConcurrentHashMapV8.values().map| Constructor and Description |
|---|
ValuesView(ConcurrentHashMapV8<K,V> map) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(V e) |
boolean |
addAll(Collection<? extends V> c) |
boolean |
contains(Object o) |
void |
forEach(ConcurrentHashMapV8.Action<? super V> action) |
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(Object o) |
clear, containsAll, getMap, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitValuesView(ConcurrentHashMapV8<K,V> map)
public final boolean contains(Object o)
public final boolean remove(Object o)
public final Iterator<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.public final boolean addAll(Collection<? extends V> c)
addAll in interface Collection<V>public void forEach(ConcurrentHashMapV8.Action<? super V> action)
Copyright © 2010-2020 Toolsverse. All Rights Reserved.