| Package | Description |
|---|---|
| java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
| Modifier and Type | Method and Description |
|---|---|
ConcurrentHashMap |
ConcurrentHashMap.keySet()
Returns a
Set view of the keys contained in this map.
|
ConcurrentHashMap |
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 and
Collection).
|
static <K> ConcurrentHashMap |
ConcurrentHashMap.newKeySet()
Creates a new
Set backed by a ConcurrentHashMap from the given type to
Boolean.TRUE.
|
static <K> ConcurrentHashMap |
ConcurrentHashMap.newKeySet(int initialCapacity)
Creates a new
Set backed by a ConcurrentHashMap from the given type to
Boolean.TRUE.
|