# Uses of Class
java.util.concurrent.ConcurrentHashMap.KeySetView

Packages that use 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 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`.