Packages

class HashMap[K, V] extends AbstractMap[K, V] with Serializable with Cloneable

Self Type
HashMap[K, V]
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HashMap
  2. Cloneable
  3. Serializable
  4. AbstractMap
  5. Map
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

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

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clear(): Unit
    Definition Classes
    HashMapAbstractMapMap
  6. def clone(): AnyRef
    Definition Classes
    HashMap → AnyRef
  7. def compute(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
    Definition Classes
    HashMapMap
  8. def computeIfAbsent(key: K, mappingFunction: Function[_ >: K, _ <: V]): V
    Definition Classes
    HashMapMap
  9. def computeIfPresent(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
    Definition Classes
    HashMapMap
  10. def containsKey(key: Any): Boolean
    Definition Classes
    HashMapAbstractMapMap
  11. def containsValue(value: Any): Boolean
    Definition Classes
    HashMapAbstractMapMap
  12. def entrySet(): Set[Entry[K, V]]
    Definition Classes
    HashMapAbstractMapMap
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(o: Any): Boolean
    Definition Classes
    AbstractMapMap → AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. def forEach(action: BiConsumer[_ >: K, _ >: V]): Unit
    Definition Classes
    HashMapMap
  17. def get(key: Any): V
    Definition Classes
    HashMapAbstractMapMap
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getOrDefault(key: Any, defaultValue: V): V
    Definition Classes
    HashMapMap
  20. def hashCode(): Int
    Definition Classes
    AbstractMapMap → AnyRef → Any
  21. def isEmpty(): Boolean
    Definition Classes
    HashMapAbstractMapMap
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def keySet(): Set[K]
    Definition Classes
    HashMapAbstractMapMap
  24. def merge(key: K, value: V, remappingFunction: BiFunction[_ >: V, _ >: V, _ <: V]): V
    Definition Classes
    HashMapMap
  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def put(key: K, value: V): V
    Definition Classes
    HashMapAbstractMapMap
  29. def putAll(m: Map[_ <: K, _ <: V]): Unit
    Definition Classes
    HashMapAbstractMapMap
  30. def putIfAbsent(key: K, value: V): V
    Definition Classes
    HashMapMap
  31. def remove(key: Any, value: Any): Boolean
    Definition Classes
    HashMapMap
  32. def remove(key: Any): V
    Definition Classes
    HashMapAbstractMapMap
  33. def replace(key: K, value: V): V
    Definition Classes
    HashMapMap
  34. def replace(key: K, oldValue: V, newValue: V): Boolean
    Definition Classes
    HashMapMap
  35. def replaceAll(function: BiFunction[_ >: K, _ >: V, _ <: V]): Unit
    Definition Classes
    Map
  36. def size(): Int
    Definition Classes
    HashMapAbstractMapMap
  37. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  38. def toString(): String
    Definition Classes
    AbstractMap → AnyRef → Any
  39. 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()
  40. def values(): Collection[V]
    Definition Classes
    HashMapAbstractMapMap
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Cloneable

Inherited from Serializable

Inherited from AbstractMap[K, V]

Inherited from Map[K, V]

Inherited from AnyRef

Inherited from Any

Ungrouped