Packages

sealed abstract class OldHashMap[K, +V] extends AbstractMap[K, V] with MapOps[K, V, OldHashMap, OldHashMap[K, V]] with StrictOptimizedIterableOps[(K, V), Iterable, OldHashMap[K, V]] with collection.StrictOptimizedMapOps[K, V, OldHashMap, OldHashMap[K, V]] with MapFactoryDefaults[K, V, OldHashMap, Iterable] with Serializable

This class implements immutable maps using a hash trie.

Note: The builder of this hash map may return specialized representations for small maps.

K

the type of the keys contained in this hash map.

V

the type of the values associated with the keys.

Since

2.3

See also

"Scala's Collection Library overview" section on Hash Tries for more information.

Linear Supertypes
java.io.Serializable, collection.StrictOptimizedMapOps[K, V, OldHashMap, OldHashMap[K, V]], StrictOptimizedIterableOps[(K, V), [_]Iterable[_], OldHashMap[K, V]], AbstractMap[K, V], Map[K, V], MapOps[K, V, [X, +Y]OldHashMap[X, Y], OldHashMap[K, V]], Iterable[(K, V)], collection.AbstractMap[K, V], collection.Map[K, V], Equals, MapFactoryDefaults[K, V, [x, y]OldHashMap[x, y], [x]Iterable[x]], collection.MapOps[K, V, [_, _]OldHashMap[_, _], OldHashMap[K, V]], PartialFunction[K, V], (K) => V, AbstractIterable[(K, V)], collection.Iterable[(K, V)], IterableFactoryDefaults[(K, V), [x]Iterable[x]], IterableOps[(K, V), [_]Iterable[_], OldHashMap[K, V]], IterableOnceOps[(K, V), [_]Iterable[_], OldHashMap[K, V]], IterableOnce[(K, V)], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OldHashMap
  2. Serializable
  3. StrictOptimizedMapOps
  4. StrictOptimizedIterableOps
  5. AbstractMap
  6. Map
  7. MapOps
  8. Iterable
  9. AbstractMap
  10. Map
  11. Equals
  12. MapFactoryDefaults
  13. MapOps
  14. PartialFunction
  15. Function1
  16. AbstractIterable
  17. Iterable
  18. IterableFactoryDefaults
  19. IterableOps
  20. IterableOnceOps
  21. IterableOnce
  22. AnyRef
  23. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def iterator: Iterator[(K, V)]
    Definition Classes
    IterableOnce

Concrete Value Members

  1. final def +[V1 >: V](kv: (K, V1)): OldHashMap[K, V1]
    Definition Classes
    OldHashMap → MapOps → MapOps
    Annotations
    @inline()
  2. def ++[V2 >: V](xs: IterableOnce[(K, V2)]): OldHashMap[K, V2]
    Definition Classes
    MapOps
  3. final def ++[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  4. final def -(key: K): OldHashMap[K, V]
    Definition Classes
    MapOps
    Annotations
    @inline()
  5. final def --(keys: IterableOnce[K]): OldHashMap[K, V]
    Definition Classes
    MapOps → MapOps
    Annotations
    @inline()
  6. def addString(sb: mutable.StringBuilder, start: String, sep: String, end: String): mutable.StringBuilder
    Definition Classes
    MapOps → IterableOnceOps
  7. final def addString(b: mutable.StringBuilder): mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  8. final def addString(b: mutable.StringBuilder, sep: String): mutable.StringBuilder
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  9. def andThen[C](k: PartialFunction[V, C]): PartialFunction[K, C]
    Definition Classes
    PartialFunction
  10. def andThen[C](k: (V) => C): PartialFunction[K, C]
    Definition Classes
    PartialFunction → Function1
  11. def apply(key: K): V
    Definition Classes
    MapOps → Function1
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  12. def applyOrElse[K1 <: K, V1 >: V](x: K1, default: (K1) => V1): V1
    Definition Classes
    MapOps → PartialFunction
  13. def canEqual(that: Any): Boolean
    Definition Classes
    Map → Equals
  14. def collect[K2, V2](pf: PartialFunction[(K, V), (K2, V2)]): OldHashMap[K2, V2]
    Definition Classes
    StrictOptimizedMapOps → MapOps
  15. def collect[B](pf: PartialFunction[(K, V), B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  16. def collectFirst[B](pf: PartialFunction[(K, V), B]): Option[B]
    Definition Classes
    IterableOnceOps
  17. def compose[R](k: PartialFunction[R, K]): PartialFunction[R, V]
    Definition Classes
    PartialFunction
  18. def compose[A](g: (A) => K): (A) => V
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  19. def concat[V2 >: V](suffix: IterableOnce[(K, V2)]): OldHashMap[K, V2]
    Definition Classes
    StrictOptimizedMapOps → MapOps
  20. def concat[B >: (K, V)](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  21. final def contains(key: K): Boolean
    Definition Classes
    OldHashMap → MapOps
  22. def copyToArray[B >: (K, V)](xs: Array[B], start: Int, len: Int): Int
    Definition Classes
    IterableOnceOps
  23. def copyToArray[B >: (K, V)](xs: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
  24. def copyToArray[B >: (K, V)](xs: Array[B]): Int
    Definition Classes
    IterableOnceOps
  25. def corresponds[B](that: IterableOnce[B])(p: ((K, V), B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  26. def count(p: ((K, V)) => Boolean): Int
    Definition Classes
    IterableOnceOps
  27. def default(key: K): V
    Definition Classes
    MapOps
    Annotations
    @throws(scala.this.throws.<init>$default$1[NoSuchElementException])
  28. def drop(n: Int): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  29. def dropRight(n: Int): OldHashMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  30. def dropWhile(p: ((K, V)) => Boolean): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  31. def elementWise: ElementWiseExtractor[K, V]
    Definition Classes
    PartialFunction
  32. def empty: OldHashMap[K, V]
    Definition Classes
    MapFactoryDefaults → IterableOps
  33. def equals(o: Any): Boolean
    Definition Classes
    Map → Equals → AnyRef → Any
  34. def exists(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  35. def filter(pred: ((K, V)) => Boolean): OldHashMap[K, V]
    Definition Classes
    OldHashMap → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  36. def filterNot(pred: ((K, V)) => Boolean): OldHashMap[K, V]
    Definition Classes
    OldHashMap → StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  37. def find(p: ((K, V)) => Boolean): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  38. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): OldHashMap[K2, V2]
    Definition Classes
    StrictOptimizedMapOps → MapOps
  39. def flatMap[B](f: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  40. def flatten[B](implicit toIterableOnce: ((K, V)) => IterableOnce[B]): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  41. def fold[A1 >: (K, V)](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  42. def foldLeft[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  43. def foldRight[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  44. def forall(p: ((K, V)) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  45. def foreach[U](f: ((K, V)) => U): Unit
    Definition Classes
    IterableOnceOps
  46. def foreachEntry[U](f: (K, V) => U): Unit
    Definition Classes
    MapOps
  47. def get(key: K): Option[V]
    Definition Classes
    OldHashMap → MapOps
  48. def getOrElse[V1 >: V](key: K, default: => V1): V1
    Definition Classes
    MapOps
  49. def groupBy[K](f: ((K, V)) => K): Map[K, OldHashMap[K, V]]
    Definition Classes
    IterableOps
  50. def groupMap[K, B](key: ((K, V)) => K)(f: ((K, V)) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  51. def groupMapReduce[K, B](key: ((K, V)) => K)(f: ((K, V)) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  52. def grouped(size: Int): Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  53. def hashCode(): Int
    Definition Classes
    Map → AnyRef → Any
  54. def head: (K, V)
    Definition Classes
    IterableOps
  55. def headOption: Option[(K, V)]
    Definition Classes
    IterableOps
  56. def init: OldHashMap[K, V]
    Definition Classes
    OldHashMap → IterableOps
  57. def inits: Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  58. def isDefinedAt(key: K): Boolean
    Definition Classes
    MapOps → PartialFunction
  59. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  60. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  61. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → Iterable → IterableOps
  62. def keySet: Set[K]
    Definition Classes
    MapOps → MapOps
  63. def keyStepper[S <: Stepper[_]](implicit shape: StepperShape[K, S]): S
    Definition Classes
    MapOps
  64. def keys: collection.Iterable[K]
    Definition Classes
    MapOps
  65. def keysIterator: Iterator[K]
    Definition Classes
    MapOps
  66. def knownSize: Int
    Definition Classes
    IterableOnce
  67. def last: (K, V)
    Definition Classes
    IterableOps
  68. def lastOption: Option[(K, V)]
    Definition Classes
    IterableOps
  69. def lazyZip[B](that: collection.Iterable[B]): LazyZip2[(K, V), B, OldHashMap.this.type]
    Definition Classes
    Iterable
  70. def lift: (K) => Option[V]
    Definition Classes
    PartialFunction
  71. def map[K2, V2](f: ((K, V)) => (K2, V2)): OldHashMap[K2, V2]
    Definition Classes
    StrictOptimizedMapOps → MapOps
  72. def map[B](f: ((K, V)) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  73. def mapFactory: MapFactory[OldHashMap]
    Definition Classes
    OldHashMap → Map → Map → MapOps
  74. def max[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  75. def maxBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  76. def maxByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  77. def maxOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  78. def merged[V1 >: V](that: OldHashMap[K, V1])(mergef: MergeFunction[K, V1]): OldHashMap[K, V1]

    Creates a new map which is the merge of this and the argument hash map.

    Creates a new map which is the merge of this and the argument hash map.

    Uses the specified collision resolution function if two keys are the same. The collision resolution function will always take the first argument from this hash map and the second from that.

    The merged method is on average more performant than doing a traversal and reconstructing a new immutable hash map from scratch, or ++.

    V1

    the value type of the other hash map

    that

    the other hash map

    mergef

    the merge function or null if the first key-value pair is to be picked

  79. def min[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  80. def minBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  81. def minByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  82. def minOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  83. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  84. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  85. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  86. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  87. def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  88. def partition(p: ((K, V)) => Boolean): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  89. def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  90. def product[B >: (K, V)](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  91. def reduce[B >: (K, V)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  92. def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  93. def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  94. def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  95. def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  96. def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  97. final def removed(key: K): OldHashMap[K, V]
    Definition Classes
    OldHashMap → MapOps
  98. def removedAll(keys: IterableOnce[K]): OldHashMap[K, V]
    Definition Classes
    MapOps
  99. def runWith[U](action: (V) => U): (K) => Boolean
    Definition Classes
    PartialFunction
  100. def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  101. def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  102. def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
    Definition Classes
    IterableOps
  103. def size: Int
    Definition Classes
    IterableOnceOps
  104. def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  105. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  106. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  107. def slice(from: Int, until: Int): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  108. def sliding(size: Int, step: Int): Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  109. def sliding(size: Int): Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  110. def span(p: ((K, V)) => Boolean): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  111. def split: Seq[OldHashMap[K, V]]
  112. def splitAt(n: Int): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    IterableOps → IterableOnceOps
  113. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
    Definition Classes
    IterableOnce
  114. def sum[B >: (K, V)](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  115. def tail: OldHashMap[K, V]
    Definition Classes
    OldHashMap → IterableOps
  116. def tails: Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  117. def take(n: Int): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  118. def takeRight(n: Int): OldHashMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  119. def takeWhile(p: ((K, V)) => Boolean): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  120. def tapEach[U](f: ((K, V)) => U): OldHashMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  121. def to[C1](factory: Factory[(K, V), C1]): C1
    Definition Classes
    IterableOnceOps
  122. def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  123. final def toBuffer[B >: (K, V)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  124. def toIndexedSeq: IndexedSeq[(K, V)]
    Definition Classes
    IterableOnceOps
  125. final def toIterable: OldHashMap.this.type
    Definition Classes
    Iterable → IterableOps
  126. def toList: List[(K, V)]
    Definition Classes
    IterableOnceOps
  127. final def toMap[K2, V2](implicit ev: <:<[(K, V), (K2, V2)]): Map[K2, V2]
    Definition Classes
    Map → IterableOnceOps
  128. def toSeq: Seq[(K, V)]
    Definition Classes
    IterableOnceOps
  129. def toSet[B >: (K, V)]: Set[B]
    Definition Classes
    IterableOnceOps
  130. def toString(): String
    Definition Classes
    Map → Function1 → Iterable → AnyRef → Any
  131. def toVector: Vector[(K, V)]
    Definition Classes
    IterableOnceOps
  132. def transform[W](f: (K, V) => W): OldHashMap[K, W]
    Definition Classes
    MapOps
  133. def transpose[B](implicit asIterable: ((K, V)) => collection.Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  134. def unapply(a: K): Option[V]
    Definition Classes
    PartialFunction
  135. def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  136. def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  137. final def updated[V1 >: V](key: K, value: V1): OldHashMap[K, V1]
    Definition Classes
    OldHashMap → MapOps
  138. def updatedWith[V1 >: V](key: K)(remappingFunction: (Option[V]) => Option[V1]): OldHashMap[K, V1]
    Definition Classes
    MapOps
  139. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
    Definition Classes
    MapOps
  140. def values: collection.Iterable[V]
    Definition Classes
    MapOps
  141. def valuesIterator: Iterator[V]
    Definition Classes
    MapOps
  142. def view: MapView[K, V]
    Definition Classes
    MapOps → IterableOps
  143. def withDefault[V1 >: V](d: (K) => V1): Map[K, V1]
    Definition Classes
    Map
  144. def withDefaultValue[V1 >: V](d: V1): Map[K, V1]
    Definition Classes
    Map
  145. def withFilter(p: ((K, V)) => Boolean): MapOps.WithFilter[K, V, [x]Iterable[x], [x, y]OldHashMap[x, y]]
    Definition Classes
    MapFactoryDefaults → IterableOps
  146. def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  147. def zipAll[A1 >: (K, V), B](that: collection.Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  148. def zipWithIndex: Iterable[((K, V), Int)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps

Deprecated Value Members

  1. def +[V1 >: V](elem1: (K, V1), elem2: (K, V1), elems: (K, V1)*): OldHashMap[K, V1]
    Definition Classes
    StrictOptimizedMapOps → MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ with an explicit collection argument instead of + with varargs

  2. def ++:[V1 >: V](that: IterableOnce[(K, V1)]): OldHashMap[K, V1]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  3. def ++:[B >: (K, V)](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  4. def -(key1: K, key2: K, keys: K*): OldHashMap[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -- with an explicit collection

  5. final def /:[B](z: B)(op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  6. final def :\[B](z: B)(op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  7. def aggregate[B](z: => B)(seqop: (B, (K, V)) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) aggregate is not relevant for sequential collections. Use foldLeft(z)(seqop) instead.

  8. def companion: IterableFactory[[_]Iterable[_]]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  9. final def copyToBuffer[B >: (K, V)](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  10. def filterKeys(p: (K) => Boolean): MapView[K, V]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    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).

  11. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  12. def mapValues[W](f: (V) => W): MapView[K, W]
    Definition Classes
    MapOps
    Annotations
    @deprecated
    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).

  13. final def repr: OldHashMap[K, V]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  14. def seq: OldHashMap.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  15. final def toIterator: Iterator[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  16. final def toStream: Stream[(K, V)]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  17. final def toTraversable: collection.Traversable[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use toIterable instead

  18. def view(from: Int, until: Int): View[(K, V)]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)