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

Type Members

  1. trait GenKeySet extends AnyRef
    Attributes
    protected
    Definition Classes
    MapOps
  2. class ImmutableKeySet extends AbstractSet[K] with MapOps.GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps
  3. class KeySet extends collection.AbstractSet[K] with GenKeySet with DefaultSerializable
    Attributes
    protected
    Definition Classes
    MapOps

Abstract Value Members

  1. abstract def contains0(key: K, hash: Int, level: Int): Boolean
    Attributes
    protected
  2. abstract def filter0(p: ((K, V)) => Boolean, negate: Boolean, level: Int, buffer: Array[OldHashMap[K, V]], offset0: Int): OldHashMap[K, V]
    Attributes
    protected
  3. abstract def get0(key: K, hash: Int, level: Int): Option[V]
    Attributes
    protected[scala.collection]
  4. abstract def iterator: Iterator[(K, V)]
    Definition Classes
    IterableOnce
  5. abstract def merge0[V1 >: V](that: OldHashMap[K, V1], level: Int, merger: Merger[K, V1]): OldHashMap[K, V1]
    Attributes
    protected
  6. abstract def removed0(key: K, hash: Int, level: Int): OldHashMap[K, V]
    Attributes
    protected
  7. abstract def updated0[V1 >: V](key: K, hash: Int, level: Int, value: V1, kv: (K, V1), merger: Merger[K, V1]): OldHashMap[K, V1]
    Attributes
    protected[scala.collection]

Concrete Value Members

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

  93. def min[B >: (K, V)](implicit ord: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  94. def minBy[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): (K, V)
    Definition Classes
    IterableOnceOps
  95. def minByOption[B](f: ((K, V)) => B)(implicit cmp: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  96. def minOption[B >: (K, V)](implicit ord: math.Ordering[B]): Option[(K, V)]
    Definition Classes
    IterableOnceOps
  97. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  98. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  99. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  100. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  101. def newSpecificBuilder: Builder[(K, V), OldHashMap[K, V]]
    Attributes
    protected
    Definition Classes
    MapFactoryDefaults → IterableOps
  102. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
  103. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  104. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  105. def orElse[A1 <: K, B1 >: V](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
    Definition Classes
    PartialFunction
  106. def partition(p: ((K, V)) => Boolean): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  107. def partitionMap[A1, A2](f: ((K, V)) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  108. def product[B >: (K, V)](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  109. def reduce[B >: (K, V)](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  110. def reduceLeft[B >: (K, V)](op: (B, (K, V)) => B): B
    Definition Classes
    IterableOnceOps
  111. def reduceLeftOption[B >: (K, V)](op: (B, (K, V)) => B): Option[B]
    Definition Classes
    IterableOnceOps
  112. def reduceOption[B >: (K, V)](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  113. def reduceRight[B >: (K, V)](op: ((K, V), B) => B): B
    Definition Classes
    IterableOnceOps
  114. def reduceRightOption[B >: (K, V)](op: ((K, V), B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  115. final def removed(key: K): OldHashMap[K, V]
    Definition Classes
    OldHashMap → MapOps
  116. def removedAll(keys: IterableOnce[K]): OldHashMap[K, V]
    Definition Classes
    MapOps
  117. def reversed: collection.Iterable[(K, V)]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  118. def runWith[U](action: (V) => U): (K) => Boolean
    Definition Classes
    PartialFunction
  119. def scan[B >: (K, V)](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  120. def scanLeft[B](z: B)(op: (B, (K, V)) => B): Iterable[B]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  121. def scanRight[B](z: B)(op: ((K, V), B) => B): Iterable[B]
    Definition Classes
    IterableOps
  122. def size: Int
    Definition Classes
    IterableOnceOps
  123. def sizeCompare(that: collection.Iterable[_]): Int
    Definition Classes
    IterableOps
  124. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  125. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  126. def slice(from: Int, until: Int): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  127. def sliding(size: Int, step: Int): Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  128. def sliding(size: Int): Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  129. def span(p: ((K, V)) => Boolean): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  130. def split: Seq[OldHashMap[K, V]]
  131. def splitAt(n: Int): (OldHashMap[K, V], OldHashMap[K, V])
    Definition Classes
    IterableOps → IterableOnceOps
  132. def stepper[S <: Stepper[_]](implicit shape: StepperShape[(K, V), S]): S
    Definition Classes
    IterableOnce
  133. final def strictOptimizedCollect[B, C2](b: Builder[B, C2], pf: PartialFunction[(K, V), B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  134. final def strictOptimizedConcat[B >: (K, V), C2](that: IterableOnce[B], b: Builder[B, C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  135. final def strictOptimizedFlatMap[B, C2](b: Builder[B, C2], f: ((K, V)) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  136. final def strictOptimizedFlatten[B, C2](b: Builder[B, C2])(implicit toIterableOnce: ((K, V)) => IterableOnce[B]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  137. final def strictOptimizedMap[B, C2](b: Builder[B, C2], f: ((K, V)) => B): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  138. final def strictOptimizedZip[B, C2](that: IterableOnce[B], b: Builder[((K, V), B), C2]): C2
    Attributes
    protected[this]
    Definition Classes
    StrictOptimizedIterableOps
    Annotations
    @inline()
  139. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Map → Iterable
    Annotations
    @deprecatedOverriding("Compatibility override", "2.13.0")
  140. def sum[B >: (K, V)](implicit num: math.Numeric[B]): B
    Definition Classes
    IterableOnceOps
  141. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  142. def tail: OldHashMap[K, V]
    Definition Classes
    OldHashMap → IterableOps
  143. def tails: Iterator[OldHashMap[K, V]]
    Definition Classes
    IterableOps
  144. def take(n: Int): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  145. def takeRight(n: Int): OldHashMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  146. def takeWhile(p: ((K, V)) => Boolean): OldHashMap[K, V]
    Definition Classes
    IterableOps → IterableOnceOps
  147. def tapEach[U](f: ((K, V)) => U): OldHashMap[K, V]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps → IterableOnceOps
  148. def to[C1](factory: Factory[(K, V), C1]): C1
    Definition Classes
    IterableOnceOps
  149. def toArray[B >: (K, V)](implicit arg0: ClassTag[B]): Array[B]
    Definition Classes
    IterableOnceOps
  150. final def toBuffer[B >: (K, V)]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  151. def toIndexedSeq: IndexedSeq[(K, V)]
    Definition Classes
    IterableOnceOps
  152. final def toIterable: OldHashMap.this.type
    Definition Classes
    Iterable → IterableOps
  153. def toList: List[(K, V)]
    Definition Classes
    IterableOnceOps
  154. final def toMap[K2, V2](implicit ev: <:<[(K, V), (K2, V2)]): Map[K2, V2]
    Definition Classes
    Map → IterableOnceOps
  155. def toSeq: Seq[(K, V)]
    Definition Classes
    IterableOnceOps
  156. def toSet[B >: (K, V)]: Set[B]
    Definition Classes
    IterableOnceOps
  157. def toString(): String
    Definition Classes
    Map → Function1 → Iterable → AnyRef → Any
  158. def toVector: Vector[(K, V)]
    Definition Classes
    IterableOnceOps
  159. def transform[W](f: (K, V) => W): OldHashMap[K, W]
    Definition Classes
    MapOps
  160. def transpose[B](implicit asIterable: ((K, V)) => collection.Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  161. def unapply(a: K): Option[V]
    Definition Classes
    PartialFunction
  162. def unzip[A1, A2](implicit asPair: ((K, V)) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  163. def unzip3[A1, A2, A3](implicit asTriple: ((K, V)) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  164. final def updated[V1 >: V](key: K, value: V1): OldHashMap[K, V1]
    Definition Classes
    OldHashMap → MapOps
  165. def updatedWith[V1 >: V](key: K)(remappingFunction: (Option[V]) => Option[V1]): OldHashMap[K, V1]
    Definition Classes
    MapOps
  166. def valueStepper[S <: Stepper[_]](implicit shape: StepperShape[V, S]): S
    Definition Classes
    MapOps
  167. def values: collection.Iterable[V]
    Definition Classes
    MapOps
  168. def valuesIterator: Iterator[V]
    Definition Classes
    MapOps
  169. def view: MapView[K, V]
    Definition Classes
    MapOps → IterableOps
  170. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  171. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  172. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  173. def withDefault[V1 >: V](d: (K) => V1): Map[K, V1]
    Definition Classes
    Map
  174. def withDefaultValue[V1 >: V](d: V1): Map[K, V1]
    Definition Classes
    Map
  175. def withFilter(p: ((K, V)) => Boolean): MapOps.WithFilter[K, V, [x]Iterable[x], [x, y]OldHashMap[x, y]]
    Definition Classes
    MapFactoryDefaults → IterableOps
  176. def zip[B](that: IterableOnce[B]): Iterable[((K, V), B)]
    Definition Classes
    StrictOptimizedIterableOps → IterableOps
  177. def zipAll[A1 >: (K, V), B](that: collection.Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  178. 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)

Inherited from java.io.Serializable

Inherited from collection.StrictOptimizedMapOps[K, V, OldHashMap, OldHashMap[K, V]]

Inherited from StrictOptimizedIterableOps[(K, V), [_]Iterable[_], OldHashMap[K, V]]

Inherited from AbstractMap[K, V]

Inherited from Map[K, V]

Inherited from MapOps[K, V, [X, +Y]OldHashMap[X, Y], OldHashMap[K, V]]

Inherited from Iterable[(K, V)]

Inherited from collection.AbstractMap[K, V]

Inherited from collection.Map[K, V]

Inherited from Equals

Inherited from MapFactoryDefaults[K, V, [x, y]OldHashMap[x, y], [x]Iterable[x]]

Inherited from collection.MapOps[K, V, [_, _]OldHashMap[_, _], OldHashMap[K, V]]

Inherited from PartialFunction[K, V]

Inherited from (K) => V

Inherited from AbstractIterable[(K, V)]

Inherited from collection.Iterable[(K, V)]

Inherited from IterableFactoryDefaults[(K, V), [x]Iterable[x]]

Inherited from IterableOps[(K, V), [_]Iterable[_], OldHashMap[K, V]]

Inherited from IterableOnceOps[(K, V), [_]Iterable[_], OldHashMap[K, V]]

Inherited from IterableOnce[(K, V)]

Inherited from AnyRef

Inherited from Any

Ungrouped