public static class ConcurrentHashMap8.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
ConcurrentHashMap8.keySet
, ConcurrentHashMap8.keySet(Object)
, ConcurrentHashMap8.newKeySet()
,
ConcurrentHashMap8.newKeySet(int)
.Modifier and Type | Method and Description |
---|---|
boolean |
add(K e) |
boolean |
addAll(Collection<? extends K> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
boolean |
equals(Object o) |
ConcurrentHashMap8<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 supported.public boolean contains(Object o)
public boolean remove(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 add(K e)
public boolean addAll(Collection<? extends K> c)
public boolean equals(Object o)
public ConcurrentHashMap8<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)
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0.final Release Date : December 29 2015