public static class ConcurrentHashMapV8.KeySetView<K,V> extends Object implements Set<K>, Serializable
Set of keys, in which
additions may optionally be enabled by mapping to a common value. This
class cannot be directly instantiated. See null null null null null ConcurrentHashMapV8.keySet(), ConcurrentHashMapV8.keySet(Object), ConcurrentHashMapV8.newKeySet(),
ConcurrentHashMapV8.newKeySet(int).| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
add(K e) |
boolean |
addAll(Collection<? extends K> 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.
|
V |
getMappedValue()
Returns the default mapped value for additions, or
null if
additions are not supported. |
int |
hashCode() |
boolean |
isEmpty() |
Iterator<K> |
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 V getMappedValue()
null if
additions are not supported.null if
not supportedpublic boolean contains(Object o)
public Iterator<K> 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 boolean addAll(Collection<? extends K> 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.