trait Map[K, V] extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- Map
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def clear(): Unit
- abstract def containsKey(key: Any): Boolean
- abstract def containsValue(value: Any): Boolean
- abstract def entrySet(): Set[Entry[K, V]]
- abstract def get(key: Any): V
- abstract def isEmpty(): Boolean
- abstract def keySet(): Set[K]
- abstract def put(key: K, value: V): V
- abstract def putAll(m: Map[_ <: K, _ <: V]): Unit
- abstract def remove(key: Any): V
- abstract def size(): Int
- abstract def values(): Collection[V]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compute(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
- def computeIfAbsent(key: K, mappingFunction: Function[_ >: K, _ <: V]): V
- def computeIfPresent(key: K, remappingFunction: BiFunction[_ >: K, _ >: V, _ <: V]): V
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def forEach(action: BiConsumer[_ >: K, _ >: V]): Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getOrDefault(key: Any, defaultValue: V): V
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def merge(key: K, value: V, remappingFunction: BiFunction[_ >: V, _ >: V, _ <: V]): V
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def putIfAbsent(key: K, value: V): V
- def remove(key: Any, value: Any): Boolean
- def replace(key: K, value: V): V
- def replace(key: K, oldValue: V, newValue: V): Boolean
- def replaceAll(function: BiFunction[_ >: K, _ >: V, _ <: V]): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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]
- Annotations
- @alwaysinline()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()