Package | Description |
---|---|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
Modifier and Type | Method and Description |
---|---|
ConcurrentHashMap.KeySetView<K,V> |
ConcurrentHashMap.keySet()
Returns a
Set view of the keys contained in this map. |
ConcurrentHashMap.KeySetView<K,V> |
ConcurrentHashMap.keySet(V mappedValue)
Returns a
Set view of the keys in this map, using the
given common mapped value for any additions (i.e., Collection.add(E) and Collection.addAll(Collection) ). |
static <K> ConcurrentHashMap.KeySetView<K,Boolean> |
ConcurrentHashMap.newKeySet()
Creates a new
Set backed by a ConcurrentHashMap
from the given type to Boolean.TRUE . |
static <K> ConcurrentHashMap.KeySetView<K,Boolean> |
ConcurrentHashMap.newKeySet(int initialCapacity)
Creates a new
Set backed by a ConcurrentHashMap
from the given type to Boolean.TRUE . |
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.