Uses of Class
java.util.concurrent.ConcurrentHashMap.KeySetView
Package | Description |
---|---|
java.util.concurrent |
Utility classes commonly useful in concurrent programming.
|
-
Uses of ConcurrentHashMap.KeySetView in java.util.concurrent
Methods in java.util.concurrent that return ConcurrentHashMap.KeySetView Modifier and Type Method Description ConcurrentHashMap.KeySetView<K,V>
ConcurrentHashMap. keySet()
Returns aSet
view of the keys contained in this map.ConcurrentHashMap.KeySetView<K,V>
ConcurrentHashMap. keySet(V mappedValue)
Returns aSet
view of the keys in this map, using the given common mapped value for any additions (i.e.,Collection.add(E)
andCollection.addAll(Collection)
).static <K> ConcurrentHashMap.KeySetView<K,Boolean>
ConcurrentHashMap. newKeySet()
Creates a newSet
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
.static <K> ConcurrentHashMap.KeySetView<K,Boolean>
ConcurrentHashMap. newKeySet(int initialCapacity)
Creates a newSet
backed by a ConcurrentHashMap from the given type toBoolean.TRUE
.