public static final class ConcurrentHashMapV8.EntrySetView<K,V> extends Object implements Set<Map.Entry<K,V>>
Set of (key, value) entries.
This class cannot be directly instantiated. See ConcurrentHashMapV8.entrySet().| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(Map.Entry<K,V> e) |
boolean |
addAll(Collection<? extends Map.Entry<K,V>> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
ConcurrentHashMapV8<K,V> |
getMap()
Returns the map backing this view.
|
int |
hashCode() |
boolean |
isEmpty() |
Iterator<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(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
String |
toString() |
public final boolean contains(Object o)
public final boolean remove(Object o)
public final Iterator<Map.Entry<K,V>> iterator()
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(Collection<? extends Map.Entry<K,V>> c)
public boolean equals(Object o)
public ConcurrentHashMapV8<K,V> getMap()
public final int size()
public final boolean isEmpty()
public final void clear()
public final Object[] toArray()
public final <T> T[] toArray(T[] a)
public final boolean containsAll(Collection<?> c)
public final boolean removeAll(Collection<?> c)
public final boolean retainAll(Collection<?> c)
Copyright © 2013 The Skfiy Open Association. All Rights Reserved.