class ConcurrentHashMap[K <: AnyRef, V <: AnyRef] extends AbstractMap[K, V] with ConcurrentMap[K, V] with Serializable

Annotations
@SerialVersionUID()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ConcurrentHashMap
  2. Serializable
  3. ConcurrentMap
  4. AbstractMap
  5. Map
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ConcurrentHashMap(initialCapacity: Int, loadFactor: Float)
  2. new ConcurrentHashMap(m: Map[_ <: K, _ <: V])
  3. new ConcurrentHashMap(initialCapacity: Int)
  4. new ConcurrentHashMap(initialCapacity: Int, loadFactor: Float, concurrencyLevel: Int)
  5. new ConcurrentHashMap()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def BASECOUNT: AtomicLongLong
    Annotations
    @inline()
  5. def CELLSBUSY: AtomicInt
    Annotations
    @inline()
  6. def SIZECTL: AtomicInt
    Annotations
    @inline()
  7. def TRANSFERINDEX: AtomicInt
    Annotations
    @inline()
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clear(): Unit
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  11. def compute(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  12. def computeIfAbsent(key: K, mappingFunction: Function[_ >: K, _ <: V]): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  13. def computeIfPresent(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  14. def contains(value: Any): Boolean
  15. def containsKey(key: Any): Boolean
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  16. def containsValue(_value: Any): Boolean
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  17. def elements: Enumeration[V]
  18. def entrySet(): Set[Entry[K, V]]
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(_o: Any): Boolean
    Definition Classes
    ConcurrentHashMapAbstractMapMap → AnyRef → Any
  21. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  22. def forEach[U <: AnyRef](parallelismThreshold: Long, transformer: BiFunction[_ >: K, _ >: V, _ <: U], action: Consumer[_ >: U]): Unit
  23. def forEach(parallelismThreshold: Long, action: BiConsumer[_ >: K, _ >: V]): Unit
  24. def forEach(action: BiConsumer[_ >: K, _ >: V]): Unit
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  25. def forEachEntry[U <: AnyRef](parallelismThreshold: Long, transformer: Function[Entry[K, V], _ <: U], action: Consumer[_ >: U]): Unit
  26. def forEachEntry(parallelismThreshold: Long, action: Consumer[_ >: Entry[K, V]]): Unit
  27. def forEachKey[U <: AnyRef](parallelismThreshold: Long, transformer: Function[_ >: K, _ <: U], action: Consumer[_ >: U]): Unit
  28. def forEachKey(parallelismThreshold: Long, action: Consumer[_ >: K]): Unit
  29. def forEachValue[U <: AnyRef](parallelismThreshold: Long, transformer: Function[_ >: V, _ <: U], action: Consumer[_ >: U]): Unit
  30. def forEachValue(parallelismThreshold: Long, action: Consumer[_ >: V]): Unit
  31. def get(_key: Any): V
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  32. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. def getOrDefault(key: Any, defaultValue: V): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  34. def hashCode(): Int
    Definition Classes
    ConcurrentHashMapAbstractMapMap → AnyRef → Any
  35. def isEmpty(): Boolean
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def keySet(mappedValue: V): KeySetView[K, V]
  38. def keySet(): KeySetView[K, V]
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  39. def keys: Enumeration[K]
  40. def mappingCount: Long
  41. def merge(key: K, value: V, remappingFunction: BiFunction[_ >: V, _ >: V, _ <: V]): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. def put(key: K, value: V): V
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  46. def putAll(m: Map[_ <: K, _ <: V]): Unit
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  47. def putIfAbsent(key: K, value: V): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  48. def reduce[U <: AnyRef](parallelismThreshold: Long, transformer: BiFunction[_ >: K, _ >: V, _ <: U], reducer: BiFunction[_ >: U, _ >: U, _ <: U]): U
  49. def reduceEntries[U <: AnyRef](parallelismThreshold: Long, transformer: Function[Entry[K, V], _ <: U], reducer: BiFunction[_ >: U, _ >: U, _ <: U]): U
  50. def reduceEntries(parallelismThreshold: Long, reducer: BiFunction[Entry[K, V], Entry[K, V], _ <: Entry[K, V]]): Entry[K, V]
  51. def reduceEntriesToDouble(parallelismThreshold: Long, transformer: ToDoubleFunction[Entry[K, V]], basis: Double, reducer: DoubleBinaryOperator): Double
  52. def reduceEntriesToInt(parallelismThreshold: Long, transformer: ToIntFunction[Entry[K, V]], basis: Int, reducer: IntBinaryOperator): Int
  53. def reduceEntriesToLong(parallelismThreshold: Long, transformer: ToLongFunction[Entry[K, V]], basis: Long, reducer: LongBinaryOperator): Long
  54. def reduceKeys[U <: AnyRef](parallelismThreshold: Long, transformer: Function[_ >: K, _ <: U], reducer: BiFunction[_ >: U, _ >: U, _ <: U]): U
  55. def reduceKeys(parallelismThreshold: Long, reducer: BiFunction[_ >: K, _ >: K, _ <: K]): K
  56. def reduceKeysToDouble(parallelismThreshold: Long, transformer: ToDoubleFunction[_ >: K], basis: Double, reducer: DoubleBinaryOperator): Double
  57. def reduceKeysToInt(parallelismThreshold: Long, transformer: ToIntFunction[_ >: K], basis: Int, reducer: IntBinaryOperator): Int
  58. def reduceKeysToLong(parallelismThreshold: Long, transformer: ToLongFunction[_ >: K], basis: Long, reducer: LongBinaryOperator): Long
  59. def reduceToDouble(parallelismThreshold: Long, transformer: ToDoubleBiFunction[_ >: K, _ >: V], basis: Double, reducer: DoubleBinaryOperator): Double
  60. def reduceToInt(parallelismThreshold: Long, transformer: ToIntBiFunction[_ >: K, _ >: V], basis: Int, reducer: IntBinaryOperator): Int
  61. def reduceToLong(parallelismThreshold: Long, transformer: ToLongBiFunction[_ >: K, _ >: V], basis: Long, reducer: LongBinaryOperator): Long
  62. def reduceValues[U <: AnyRef](parallelismThreshold: Long, transformer: Function[_ >: V, _ <: U], reducer: BiFunction[_ >: U, _ >: U, _ <: U]): U
  63. def reduceValues(parallelismThreshold: Long, reducer: BiFunction[_ >: V, _ >: V, _ <: V]): V
  64. def reduceValuesToDouble(parallelismThreshold: Long, transformer: ToDoubleFunction[_ >: V], basis: Double, reducer: DoubleBinaryOperator): Double
  65. def reduceValuesToInt(parallelismThreshold: Long, transformer: ToIntFunction[_ >: V], basis: Int, reducer: IntBinaryOperator): Int
  66. def reduceValuesToLong(parallelismThreshold: Long, transformer: ToLongFunction[_ >: V], basis: Long, reducer: LongBinaryOperator): Long
  67. def remove(key: Any, value: Any): Boolean
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  68. def remove(key: Any): V
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  69. def replace(key: K, value: V): V
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  70. def replace(key: K, oldValue: V, newValue: V): Boolean
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  71. def replaceAll(function: BiFunction[_ >: K, _ >: V, _ <: V]): Unit
    Definition Classes
    ConcurrentHashMapConcurrentMapMap
  72. def search[U <: AnyRef](parallelismThreshold: Long, searchFunction: BiFunction[_ >: K, _ >: V, _ <: U]): U
  73. def searchEntries[U <: AnyRef](parallelismThreshold: Long, searchFunction: Function[Entry[K, V], _ <: U]): U
  74. def searchKeys[U <: AnyRef](parallelismThreshold: Long, searchFunction: Function[_ >: K, _ <: U]): U
  75. def searchValues[U <: AnyRef](parallelismThreshold: Long, searchFunction: Function[_ >: V, _ <: U]): U
  76. def size(): Int
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  77. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  78. def toString(): String
    Definition Classes
    ConcurrentHashMapAbstractMap → AnyRef → Any
  79. def usingEntry[T](entry: Entry[K, V])(apply: (K, V) => T): T

    Helper method used to detect concurrent modification exception when accessing map entires.

    Helper method used to detect concurrent modification exception when accessing map entires. IllegalStateException means the entry is no longer available (remove)

    Attributes
    protected[util]
    Definition Classes
    Map
    Annotations
    @alwaysinline()
  80. def values(): Collection[V]
    Definition Classes
    ConcurrentHashMapAbstractMapMap
  81. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  82. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  83. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from ConcurrentMap[K, V]

Inherited from AbstractMap[K, V]

Inherited from Map[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped