Class ConcurrentHashMapV8.EntrySetView<K,V>
java.lang.Object
org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.CollectionView<K,V,Map.Entry<K,V>>
org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.EntrySetView<K,V>
- All Implemented Interfaces:
Serializable,Iterable<Map.Entry<K,,V>> Collection<Map.Entry<K,,V>> Set<Map.Entry<K,V>>
- Enclosing class:
ConcurrentHashMapV8<K,V>
static final class ConcurrentHashMapV8.EntrySetView<K,V>
extends ConcurrentHashMapV8.CollectionView<K,V,Map.Entry<K,V>>
implements Set<Map.Entry<K,V>>, Serializable
A view of a ConcurrentHashMapV8 as a
Set of (key, value)
entries. This class cannot be directly instantiated. See
ConcurrentHashMapV8.entrySet().-
Field Summary
FieldsFields inherited from class org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.CollectionView
map -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanaddAll(Collection<? extends Map.Entry<K, V>> c) booleanfinal booleanfinal inthashCode()iterator()Returns a "weakly consistent" iterator that will never throwConcurrentModificationException, 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.booleanMethods inherited from class org.glassfish.jersey.internal.util.collection.ConcurrentHashMapV8.CollectionView
clear, containsAll, getMap, isEmpty, removeAll, retainAll, size, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.Set
clear, containsAll, isEmpty, removeAll, retainAll, size, spliterator, toArray, toArray
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EntrySetView
EntrySetView(ConcurrentHashMapV8<K, V> map)
-
-
Method Details
-
contains
-
remove
-
iterator
Description copied from class:ConcurrentHashMapV8.CollectionViewReturns a "weakly consistent" iterator that will never throwConcurrentModificationException, 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. -
add
-
addAll
-
hashCode
public final int hashCode() -
equals
-