AutoUpdater

class AutoUpdater[M, K, V](val theMap: M, default: => V)(implicit ev: M <:< Map[K, V]) extends Map[K, V]

AutoUpdater wraps a Map such that any call to apply updates the map with an instance of the default value

Companion:
object
trait Map[K, V]
trait MapOps[K, V, Map, Map[K, V]]
trait Shrinkable[K]
trait Builder[(K, V), Map[K, V]]
trait Growable[(K, V)]
trait Clearable
trait Cloneable[Map[K, V]]
trait Cloneable
trait Map[K, V]
trait Equals
trait MapOps[K, V, Map, Map[K, V]]
trait PartialFunction[K, V]
trait K => V
trait Iterable[(K, V)]
trait Iterable[(K, V)]
trait IterableOps[(K, V), Iterable, Map[K, V]]
trait IterableOnceOps[(K, V), Iterable, Map[K, V]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def addOne(kv: (K, V)): AutoUpdater[M, K, V]
Definition Classes
override def apply(k: K): V
Definition Classes
def get(key: K): Option[V]
def iterator: Iterator[(K, V)]
override def size: Int
Definition Classes
override def subtractOne(key: K): AutoUpdater[M, K, V]
Definition Classes
override def update(k: K, v: V): Unit
Definition Classes

Inherited methods

final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def ++[V2 >: V](xs: IterableOnce[(K, V2)]): Map[K, V2]
Inherited from:
MapOps
final def ++=(xs: IterableOnce[(K, V)]): AutoUpdater[M, K, V]
Inherited from:
Growable
final def +=(elem: (K, V)): AutoUpdater[M, K, V]
Inherited from:
Growable
final def --=(xs: IterableOnce[K]): AutoUpdater[M, K, V]
Inherited from:
Shrinkable
final def -=(elem: K): AutoUpdater[M, K, V]
Inherited from:
Shrinkable
def addAll(xs: IterableOnce[(K, V)]): AutoUpdater[M, K, V]
Inherited from:
Growable
override def addString(sb: StringBuilder, start: String, sep: String, end: String): StringBuilder
Definition Classes
Inherited from:
MapOps
Inherited from:
PartialFunction
override def andThen[C](k: V => C): PartialFunction[K, C]
Definition Classes
Inherited from:
PartialFunction
override def applyOrElse[K1 <: K, V1 >: V](x: K1, default: K1 => V1): V1
Definition Classes
Inherited from:
MapOps
def canEqual(that: Any): Boolean
Inherited from:
Map
def clear(): Unit
Inherited from:
MapOps
override def clone(): Map[K, V]
Definition Classes
MapOps -> Cloneable -> Object
Inherited from:
MapOps
def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
Inherited from:
IterableOps
def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): Map[K2, V2]
Inherited from:
MapOps
def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
Inherited from:
IterableOnceOps
Inherited from:
PartialFunction
def compose[A](g: A => K): A => V
Inherited from:
Function1
def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): Map[K, V2]
Inherited from:
MapOps
def contains(key: K): Boolean
Inherited from:
MapOps
def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
Inherited from:
IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
def copyToArray[B >: (K, V)](xs: Array[B]): Int
Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
Inherited from:
IterableOnceOps
def count(p: ((K, V)) => Boolean): Int
Inherited from:
IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
def default(key: K): V
Inherited from:
MapOps
def drop(n: Int): Map[K, V]
Inherited from:
IterableOps
def dropRight(n: Int): Map[K, V]
Inherited from:
IterableOps
def dropWhile(p: ((K, V)) => Boolean): Map[K, V]
Inherited from:
IterableOps
override def empty: Map[K, V]
Definition Classes
Inherited from:
MapFactoryDefaults
override def equals(o: Any): Boolean
Definition Classes
Map -> Equals -> Any
Inherited from:
Map
def exists(p: ((K, V)) => Boolean): Boolean
Inherited from:
IterableOnceOps
def filter(pred: ((K, V)) => Boolean): Map[K, V]
Inherited from:
IterableOps
def filterInPlace(p: (K, V) => Boolean): AutoUpdater[M, K, V]
Inherited from:
MapOps
def filterNot(pred: ((K, V)) => Boolean): Map[K, V]
Inherited from:
IterableOps
def find(p: ((K, V)) => Boolean): Option[(K, V)]
Inherited from:
IterableOnceOps
def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): Map[K2, V2]
Inherited from:
MapOps
def flatten[B](implicit asIterable: ((K, V)) => IterableOnce[B]): Iterable[B]
Inherited from:
IterableOps
def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: ((K, V), B) => B): B
Inherited from:
IterableOnceOps
def forall(p: ((K, V)) => Boolean): Boolean
Inherited from:
IterableOnceOps
def foreach[U](f: ((K, V)) => U): Unit
Inherited from:
IterableOnceOps
def foreachEntry[U](f: (K, V) => U): Unit
Inherited from:
MapOps
override protected def fromSpecific(coll: IterableOnce[(K, V)]): Map[K, V]
Definition Classes
Inherited from:
MapFactoryDefaults
def getOrElse[V1 >: V](key: K, default: => V1): V1
Inherited from:
MapOps
def getOrElseUpdate(key: K, op: => V): V
Inherited from:
MapOps
def groupBy[K](f: ((K, V)) => K): Map[K, Map[K, V]]
Inherited from:
IterableOps
def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): Map[K, Iterable[B]]
Inherited from:
IterableOps
def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): Map[K, B]
Inherited from:
IterableOps
def grouped(size: Int): Iterator[Map[K, V]]
Inherited from:
IterableOps
override def hashCode(): Int
Definition Classes
Map -> Any
Inherited from:
Map
def head: (K, V)
Inherited from:
IterableOps
def headOption: Option[(K, V)]
Inherited from:
IterableOps
def init: Map[K, V]
Inherited from:
IterableOps
def inits: Iterator[Map[K, V]]
Inherited from:
IterableOps
def isDefinedAt(key: K): Boolean
Inherited from:
MapOps
Inherited from:
IterableOnceOps
Definition Classes
Inherited from:
IterableOps
Definition Classes
Inherited from:
Iterable
def keySet: Set[K]
Inherited from:
MapOps
def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
Inherited from:
MapOps
def keys: Iterable[K]
Inherited from:
MapOps
Inherited from:
MapOps
override def knownSize: Int
Definition Classes
Inherited from:
MapOps
def last: (K, V)
Inherited from:
IterableOps
def lastOption: Option[(K, V)]
Inherited from:
IterableOps
def lazyZip[B](that: Iterable[B]): LazyZip2[(K, V), B, AutoUpdater[M, K, V]]
Inherited from:
Iterable
def lift: K => Option[V]
Inherited from:
PartialFunction
def map[B](f: ((K, V)) => B): Iterable[B]
Inherited from:
IterableOps
def map[K2, V2](f: ((K, V)) => (K2, V2)): Map[K2, V2]
Inherited from:
MapOps
override def mapFactory: MapFactory[Map]
Definition Classes
Map -> Map -> MapOps
Inherited from:
Map
def mapResult[NewTo](f: Map[K, V] => NewTo): Builder[(K, V), NewTo]
Inherited from:
Builder
def mapValuesInPlace(f: (K, V) => V): AutoUpdater[M, K, V]
Inherited from:
MapOps
def max[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
Inherited from:
IterableOnceOps
def maxBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): (K, V)
Inherited from:
IterableOnceOps
def maxByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[(K, V)]
Inherited from:
IterableOnceOps
def maxOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
Inherited from:
IterableOnceOps
def min[B >: (K, V)](implicit ord: Ordering[B]): (K, V)
Inherited from:
IterableOnceOps
def minBy[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): (K, V)
Inherited from:
IterableOnceOps
def minByOption[B](f: ((K, V)) => B)(implicit cmp: Ordering[B]): Option[(K, V)]
Inherited from:
IterableOnceOps
def minOption[B >: (K, V)](implicit ord: Ordering[B]): Option[(K, V)]
Inherited from:
IterableOnceOps
final def mkString: String
Inherited from:
IterableOnceOps
final def mkString(sep: String): String
Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String
Inherited from:
IterableOnceOps
override protected def newSpecificBuilder: Builder[(K, V), Map[K, V]]
Definition Classes
Inherited from:
MapFactoryDefaults
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
Inherited from:
IterableOnceOps
def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
Inherited from:
PartialFunction
def partition(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
Inherited from:
IterableOps
def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
Inherited from:
IterableOps
def product[B >: (K, V)](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def put(key: K, value: V): Option[V]
Inherited from:
MapOps
def reduce[B >: (K, V)](op: (B, B) => B): B
Inherited from:
IterableOnceOps
def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
Inherited from:
IterableOnceOps
def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
Inherited from:
IterableOnceOps
def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
Inherited from:
IterableOnceOps
def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
Inherited from:
IterableOnceOps
def remove(key: K): Option[V]
Inherited from:
MapOps
def result(): Map[K, V]
Inherited from:
MapOps
protected def reversed: Iterable[(K, V)]
Inherited from:
IterableOnceOps
def runWith[U](action: V => U): K => Boolean
Inherited from:
PartialFunction
def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
Inherited from:
IterableOps
def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
Inherited from:
IterableOps
def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
Inherited from:
IterableOps
def sizeCompare(that: Iterable[_]): Int
Inherited from:
IterableOps
def sizeCompare(otherSize: Int): Int
Inherited from:
IterableOps
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit
Inherited from:
Builder
def sizeHint(size: Int): Unit
Inherited from:
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit
Inherited from:
Builder
Inherited from:
IterableOps
def slice(from: Int, until: Int): Map[K, V]
Inherited from:
IterableOps
def sliding(size: Int, step: Int): Iterator[Map[K, V]]
Inherited from:
IterableOps
def sliding(size: Int): Iterator[Map[K, V]]
Inherited from:
IterableOps
def span(p: ((K, V)) => Boolean): (Map[K, V], Map[K, V])
Inherited from:
IterableOps
override def splitAt(n: Int): (Map[K, V], Map[K, V])
Definition Classes
Inherited from:
IterableOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
Inherited from:
IterableOnce
def subtractAll(xs: IterableOnce[K]): AutoUpdater[M, K, V]
Inherited from:
Shrinkable
def sum[B >: (K, V)](implicit num: Numeric[B]): B
Inherited from:
IterableOnceOps
def tail: Map[K, V]
Inherited from:
IterableOps
def tails: Iterator[Map[K, V]]
Inherited from:
IterableOps
def take(n: Int): Map[K, V]
Inherited from:
IterableOps
def takeRight(n: Int): Map[K, V]
Inherited from:
IterableOps
def takeWhile(p: ((K, V)) => Boolean): Map[K, V]
Inherited from:
IterableOps
override def tapEach[U](f: ((K, V)) => U): Map[K, V]
Definition Classes
Inherited from:
IterableOps
def to[C1](factory: Factory[(K, V), C1]): C1
Inherited from:
IterableOnceOps
def toArray[B >: (K, V) : ClassTag]: Array[B]
Inherited from:
IterableOnceOps
final def toBuffer[B >: (K, V)]: Buffer[B]
Inherited from:
IterableOnceOps
Inherited from:
IterableOnceOps
def toList: List[(K, V)]
Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: (K, V) <:< (K, V)): Map[K, V]
Inherited from:
IterableOnceOps
def toSeq: Seq[(K, V)]
Inherited from:
IterableOnceOps
def toSet[B >: (K, V)]: Set[B]
Inherited from:
IterableOnceOps
override def toString(): String
Definition Classes
Map -> Function1 -> Iterable -> Any
Inherited from:
Map
def toVector: Vector[(K, V)]
Inherited from:
IterableOnceOps
def transpose[B](implicit asIterable: ((K, V)) => Iterable[B]): Iterable[Iterable[B]]
Inherited from:
IterableOps
def unapply(a: K): Option[V]
Inherited from:
PartialFunction
def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
Inherited from:
IterableOps
def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
Inherited from:
IterableOps
def updateWith(key: K)(remappingFunction: Option[V] => Option[V]): Option[V]
Inherited from:
MapOps
def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
Inherited from:
MapOps
Inherited from:
MapOps
Inherited from:
MapOps
override def view: MapView[K, V]
Definition Classes
Inherited from:
MapOps
def withDefault(d: K => V): Map[K, V]
Inherited from:
Map
def withDefaultValue(d: V): Map[K, V]
Inherited from:
Map
override def withFilter(p: ((K, V)) => Boolean): WithFilter[K, V, Iterable, Map]
Definition Classes
Inherited from:
MapFactoryDefaults
def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
Inherited from:
IterableOps
def zipAll[A1 >: (K, V), B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
Inherited from:
IterableOps
def zipWithIndex: Iterable[((K, V), Int)]
Inherited from:
IterableOps

Deprecated and Inherited methods

@deprecated(message = "Use ++ with an explicit collection argument instead of + with varargs", since = "2.13.0")
def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): Map[K, V1]
Deprecated
[Since version 2.13.0] Use ++ with an explicit collection argument instead of + with varargs
Inherited from:
MapOps
@deprecated(message = "Consider requiring an immutable Map or fall back to Map.concat.", since = "2.13.0")
def +[V1 >: V](kv: (K, V1)): Map[K, V1]
Deprecated
[Since version 2.13.0] Consider requiring an immutable Map or fall back to Map.concat.
Inherited from:
MapOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
IterableOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
def ++:[V1 >: V](that: IterableOnce[(K, V1)]): Map[K, V1]
Deprecated
[Since version 2.13.0] Use ++ instead of ++: for collections of type Iterable
Inherited from:
MapOps
@inline @deprecated(message = "Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated", since = "2.13.0")
final def +=(elem1: (K, V), elem2: (K, V), elems: (K, V)*): AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable
@deprecated(message = "Use -- or removeAll on an immutable Map", since = "2.13.0")
final def -(key1: K, key2: K, keys: K*): Map[K, V]
Deprecated
[Since version 2.13.0] Use -- or removeAll on an immutable Map
Inherited from:
MapOps
@deprecated(message = "Use - or remove on an immutable Map", since = "2.13.0")
final def -(key: K): Map[K, V]
Deprecated
[Since version 2.13.0] Use - or remove on an immutable Map
Inherited from:
MapOps
@inline @deprecated(message = "Consider requiring an immutable Map.", since = "2.13.0")
def --(keys: IterableOnce[K]): Map[K, V]
Deprecated
[Since version 2.13.0] Consider requiring an immutable Map.
Inherited from:
MapOps
@deprecated(message = "Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated", since = "2.13.3")
def -=(elem1: K, elem2: K, elems: K*): AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.3] Use `--=` aka `subtractAll` instead of varargs `-=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Shrinkable
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
final def /:[B](z: B)(op: (B, (K, V)) => B): B
Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
final def :\[B](z: B)(op: ((K, V), B) => B): B
Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
@deprecated(message = "`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", since = "2.13.0")
def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
Deprecated
[Since version 2.13.0] `aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.
Inherited from:
IterableOnceOps
@inline @deprecatedOverriding(message = "Use iterableFactory instead", since = "2.13.0") @deprecated(message = "Use iterableFactory instead", since = "2.13.0")
Deprecated
[Since version 2.13.0] Use iterableFactory instead
Inherited from:
IterableOps
@inline @deprecated(message = "Use `dest ++= coll` instead", since = "2.13.0")
final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
@deprecated(message = "Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).", since = "2.13.0")
def filterKeys(p: K => Boolean): MapView[K, V]
Deprecated
[Since version 2.13.0] Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).
Inherited from:
MapOps
@deprecated(message = "Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", since = "2.13.0")
Deprecated
[Since version 2.13.0] Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)
Inherited from:
IterableOnceOps
@deprecated(message = "Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).", since = "2.13.0")
def mapValues[W](f: V => W): MapView[K, W]
Deprecated
[Since version 2.13.0] Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).
Inherited from:
MapOps
@deprecated(message = "Use coll instead of repr in a collection implementation, use the collection value itself from the outside", since = "2.13.0")
final def repr: Map[K, V]
Deprecated
[Since version 2.13.0] Use coll instead of repr in a collection implementation, use the collection value itself from the outside
Inherited from:
IterableOps
@inline @deprecated(message = "Use filterInPlace instead", since = "2.13.0")
final def retain(p: (K, V) => Boolean): AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.0] Use filterInPlace instead
Inherited from:
MapOps
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
def seq: AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.0] Iterable.seq always returns the iterable itself
Inherited from:
Iterable
@deprecated(message = "toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.7")
final def toIterable: AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.7] toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
final def toIterator: Iterator[(K, V)]
Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
@inline @deprecated(message = "Use .to(LazyList) instead of .toStream", since = "2.13.0")
final def toStream: Stream[(K, V)]
Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps
@deprecated(message = "toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections", since = "2.13.0")
final def toTraversable: Iterable[(K, V)]
Deprecated
[Since version 2.13.0] toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections
Inherited from:
IterableOps
@inline @deprecated(message = "Use mapValuesInPlace instead", since = "2.13.0")
final def transform(f: (K, V) => V): AutoUpdater[M, K, V]
Deprecated
[Since version 2.13.0] Use mapValuesInPlace instead
Inherited from:
MapOps
@deprecated(message = "Use m.clone().addOne((k,v)) instead of m.updated(k, v)", since = "2.13.0")
def updated[V1 >: V](key: K, value: V1): Map[K, V1]
Deprecated
[Since version 2.13.0] Use m.clone().addOne((k,v)) instead of m.updated(k, v)
Inherited from:
MapOps
@deprecated(message = "Use .view.slice(from, until) instead of .view(from, until)", since = "2.13.0")
def view(from: Int, until: Int): View[(K, V)]
Deprecated
[Since version 2.13.0] Use .view.slice(from, until) instead of .view(from, until)
Inherited from:
IterableOps

Concrete fields

val theMap: M