scala.collection.mutable

OpenHashMap

class OpenHashMap[Key, Value] extends Map[Key, Value] with MapLike[Key, Value, OpenHashMap[Key, Value]]

A mutable hash map based on an open hashing scheme. The precise scheme is undefined, but it should make a reasonable effort to ensure that an insert with consecutive hash codes is not unneccessarily penalised. In particular, mappings of consecutive integer keys should work without significant performance loss.

Key

type of the keys in this map.

Value

type of the values in this map.

go to: companion
source: OpenHashMap.scala
    since
  1. 2.7

    authors:
  1. David MacIver

Inherited
  1. Hide All
  2. Show all
  1. Map
  2. MapLike
  3. Cloneable
  4. Shrinkable
  5. Builder
  6. Growable
  7. Map
  8. MapLike
  9. Subtractable
  10. PartialFunction
  11. Function1
  12. Iterable
  13. Iterable
  14. IterableLike
  15. Equals
  16. Traversable
  17. Mutable
  18. Traversable
  19. GenericTraversableTemplate
  20. TraversableLike
  21. TraversableOnce
  22. FilterMonadic
  23. HasNewBuilder
  24. AnyRef
  25. Any
Visibility
  1. Public
  2. All

Instance constructors

  1. new OpenHashMap()

    A default constructor creates a hashmap with initial size 8.

  2. new OpenHashMap(initialSize: Int)

Type Members

  1. class DefaultKeySet extends Set[A]

    The implementation class of the set returned by keySet.

  2. class DefaultValuesIterable extends Iterable[B]

    The implementation class of the iterable returned by values.

  3. type Entry = OpenEntry[Key, Value]

  4. type Self = OpenHashMap[Key, Value]

    The type implementing this traversable

  5. class WithFilter extends FilterMonadic[A, Repr]

    A class supporting filtered operations.

Value Members

  1. def !=(arg0: AnyRef): Boolean

  2. def !=(arg0: Any): Boolean

    o != arg0 is the same as !(o == (arg0)).

  3. def ##(): Int

  4. def $asInstanceOf[T0](): T0

  5. def $isInstanceOf[T0](): Boolean

  6. def +[B1 >: Value](elem1: (Key, B1), elem2: (Key, B1), elems: (Key, B1)*): Map[Key, B1]

    Creates a new map containing two or more key/value mappings and all the key/value mappings of this map.

  7. def +[B1 >: Value](kv: (Key, B1)): Map[Key, B1]

    Creates a new map containing a new key/value mapping and all the key/value mappings of this map.

  8. def ++[B1 >: Value](xs: TraversableOnce[(Key, B1)]): Map[Key, B1]

    Creates a new map containing the key/value mappings provided by the specified traversable object and all the key/value mappings of this map.

  9. def ++(that: TraversableOnce[(Key, Value)]): OpenHashMap[(Key, Value)]

    [use case] Concatenates this open hash map with the elements of a traversable collection.

  10. def ++[B >: (Key, Value), That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Concatenates this open hash map with the elements of a traversable collection.

  11. def ++=(xs: TraversableOnce[(Key, Value)]): Growable[(Key, Value)]

    adds all elements produced by a TraversableOnce to this open hash map.

  12. def +=(kv: (Key, Value)): OpenHashMap[Key, Value]

    Adds a new key/value pair to this map.

  13. def +=(elem1: (Key, Value), elem2: (Key, Value), elems: (Key, Value)*): Growable[(Key, Value)]

    adds two or more elements to this open hash map.

  14. def -(elem1: Key, elem2: Key, elems: Key*): OpenHashMap[Key, Value]

    Creates a new map with all the key/value mappings of this map except mappings with keys equal to any of the two or more specified keys.

  15. def -(key: Key): OpenHashMap[Key, Value]

    Creates a new map with all the key/value mappings of this map except the key/value mapping with the specified key.

  16. def --(xs: TraversableOnce[Key]): OpenHashMap[Key, Value]

    Creates a new map with all the key/value mappings of this map except mappings with keys equal to any of those provided by the specified traversable object.

  17. def --=(xs: TraversableOnce[Key]): Shrinkable[Key]

    Removes all elements produced by an iterator from this open hash map.

  18. def -=(key: Key): OpenHashMap[Key, Value]

    Removes a key from this map.

  19. def -=(elem1: Key, elem2: Key, elems: Key*): Shrinkable[Key]

    Removes two or more elements from this open hash map.

  20. def /:[B](z: B)(op: (B, (Key, Value)) ⇒ B): B

    Applies a binary operator to a start value and all elements of this open hash map, going left to right.

  21. def :\[B](z: B)(op: ((Key, Value), B) ⇒ B): B

    Applies a binary operator to all elements of this open hash map and a start value, going right to left.

  22. def ==(arg0: AnyRef): Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

  23. def ==(arg0: Any): Boolean

    o == arg0 is the same as o.equals(arg0).

  24. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Appends all bindings of this map to a string builder using start, end, and separator strings.

  25. def addString(b: StringBuilder): StringBuilder

    Appends all elements of this open hash map to a string builder.

  26. def addString(b: StringBuilder, sep: String): StringBuilder

    Appends all elements of this open hash map to a string builder using a separator string.

  27. def andThen[C](k: (Value) ⇒ C): PartialFunction[Key, C]

    Composes this partial function with a transformation function that gets applied to results of this partial function.

  28. def apply(key: Key): Value

    Retrieves the value which is associated with the given key.

  29. def asInstanceOf[T0]: T0

    This method is used to cast the receiver object to be of type T0.

  30. def canEqual(that: Any): Boolean

    Method called from equality methods, so that user-defined subclasses can refuse to be equal to other collections of the same kind.

  31. def clear(): Unit

    Removes all bindings from the map.

  32. def clone(): OpenHashMap[Key, Value]

    This method creates and returns a copy of the receiver object.

  33. def collect[B](pf: PartialFunction[(Key, Value), B]): OpenHashMap[B]

    [use case] Builds a new collection by applying a partial function to all elements of this open hash map on which the function is defined.

  34. def collect[B, That](pf: PartialFunction[(Key, Value), B])(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Builds a new collection by applying a partial function to all elements of this open hash map on which the function is defined.

  35. def companion: GenericCompanion[Iterable[A][A]]

    The factory companion object that builds instances of class OpenHashMap.

  36. def compose[A](g: (A) ⇒ Key): (A) ⇒ Value

    (f compose g)(x) == f(g(x))

  37. def contains(key: Key): Boolean

    Tests whether this map contains a binding for a key.

  38. def copyToArray(xs: Array[(Key, Value)], start: Int, len: Int): Unit

    [use case] Copies elements of this open hash map to an array.

  39. def copyToArray[B >: (Key, Value)](xs: Array[B], start: Int, len: Int): Unit

    Copies elements of this open hash map to an array.

  40. def copyToArray(xs: Array[(Key, Value)]): Unit

    [use case] Copies values of this open hash map to an array.

  41. def copyToArray[B >: (Key, Value)](xs: Array[B]): Unit

    Copies values of this open hash map to an array.

  42. def copyToArray(xs: Array[(Key, Value)], start: Int): Unit

    [use case] Copies values of this open hash map to an array.

  43. def copyToArray[B >: (Key, Value)](xs: Array[B], start: Int): Unit

    Copies values of this open hash map to an array.

  44. def copyToBuffer[B >: (Key, Value)](dest: Buffer[B]): Unit

    Copies all elements of this open hash map to a buffer.

  45. def count(p: ((Key, Value)) ⇒ Boolean): Int

    Counts the number of elements in the open hash map which satisfy a predicate.

  46. def default(key: Key): Value

    Defines the default value computation for the map, returned when a key is not found The method implemented here throws an exception, but it might be overridden in subclasses.

  47. def drop(n: Int): OpenHashMap[Key, Value]

    Selects all elements except first n ones.

  48. def dropRight(n: Int): OpenHashMap[Key, Value]

    Selects all elements except last n ones.

  49. def dropWhile(p: ((Key, Value)) ⇒ Boolean): OpenHashMap[Key, Value]

    Drops longest prefix of elements that satisfy a predicate.

  50. def elements: Iterator[(Key, Value)]

  51. def empty: OpenHashMap[Key, Value]

    The empty map of the same type as this map

  52. def eq(arg0: AnyRef): Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

  53. def equals(that: Any): Boolean

    Compares two maps structurally; i.

  54. def exists(p: ((Key, Value)) ⇒ Boolean): Boolean

    Tests whether a predicate holds for some of the elements of this open hash map.

  55. def filter(p: ((Key, Value)) ⇒ Boolean): OpenHashMap[Key, Value]

    Selects all elements of this open hash map which satisfy a predicate.

  56. def filterKeys(p: (Key) ⇒ Boolean): Map[Key, Value]

    Filters this map by retaining only keys satisfying a predicate.

  57. def filterNot(p: ((Key, Value)) ⇒ Boolean): OpenHashMap[Key, Value]

    Returns a new map with all key/value pairs for which the predicate p returns true.

  58. def finalize(): Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

  59. def find(p: ((Key, Value)) ⇒ Boolean): Option[(Key, Value)]

    Finds the first element of the open hash map satisfying a predicate, if any.

  60. def first: (Key, Value)

  61. def firstOption: Option[(Key, Value)]

    None if iterable is empty.

  62. def flatMap[B](f: ((Key, Value)) ⇒ Traversable[B]): OpenHashMap[B]

    [use case] Builds a new collection by applying a function to all elements of this open hash map and concatenating the results.

  63. def flatMap[B, That](f: ((Key, Value)) ⇒ Traversable[B])(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Builds a new collection by applying a function to all elements of this open hash map and concatenating the results.

  64. def flatten[B]: OpenHashMap[B]

    [use case] Converts this open hash map of traversable collections into a open hash map in which all element collections are concatenated.

  65. def flatten[B](implicit asTraversable: ((Key, Value)) ⇒ Traversable[B]): Iterable[B]

    Converts this open hash map of traversable collections into a open hash map in which all element collections are concatenated.

  66. def foldLeft[B](z: B)(op: (B, (Key, Value)) ⇒ B): B

    Applies a binary operator to a start value and all elements of this open hash map, going left to right.

  67. def foldRight[B](z: B)(op: ((Key, Value), B) ⇒ B): B

    Applies a binary operator to all elements of this open hash map and a start value, going right to left.

  68. def forall(p: ((Key, Value)) ⇒ Boolean): Boolean

    Tests whether a predicate holds for all elements of this open hash map.

  69. def foreach[U](f: ((Key, Value)) ⇒ U): Unit

    Loop over the key, value mappings of this map.

  70. def genericBuilder[B]: Builder[B, Iterable[B]]

    The generic builder that builds instances of OpenHashMap at arbitrary element types.

  71. def get(key: Key): Option[Value]

    Optionally returns the value associated with a key.

  72. def getClass(): java.lang.Class[_ <: java.lang.Object]

    Returns a representation that corresponds to the dynamic class of the receiver object.

  73. def getOrElse(key: Key, default: ⇒ Value): Value

    [use case] Returns the value associated with a key, or a default value if the key is not contained in the map.

  74. def getOrElse[B1 >: Value](key: Key, default: ⇒ B1): B1

    Returns the value associated with a key, or a default value if the key is not contained in the map.

  75. def getOrElseUpdate(key: Key, op: ⇒ Value): Value

    If given key is already in this map, returns associated value.

  76. def groupBy[K](f: ((Key, Value)) ⇒ K): Map[K, OpenHashMap[Key, Value]]

    Partitions this open hash map into a map of open hash maps according to some discriminator function.

  77. def grouped(size: Int): Iterator[OpenHashMap[Key, Value]]

    Partitions elements in fixed size open hash maps.

  78. def hasDefiniteSize: Boolean

    Tests whether this open hash map is known to have a finite size.

  79. def hashCode(): Int

    Returns a hash code value for the object.

  80. def hashOf(key: Key): Int

    Returns a mangled hash code of the provided key.

  81. def head: (Key, Value)

    Selects the first element of this open hash map.

  82. def headOption: Option[(Key, Value)]

    Optionally selects the first element.

  83. def init: OpenHashMap[Key, Value]

    Selects all elements except the last.

  84. def isDefinedAt(key: Key): Boolean

    Tests whether this map contains a binding for a key.

  85. def isEmpty: Boolean

    Tests whether the map is empty.

  86. def isInstanceOf[T0]: Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

  87. def isTraversableAgain: Boolean

    Tests whether this open hash map can be repeatedly traversed.

  88. def iterator: Iterator[(Key, Value)]

    An iterator over the elements of this map.

  89. def keySet: Set[Key]

    Collects all keys of this map in a set.

  90. def keys: Iterable[Key]

    Creates an iterator for all keys.

  91. def keysIterator: Iterator[Key]

    Creates an iterator for all keys.

  92. def last: (Key, Value)

    Selects the last element.

  93. def lastOption: Option[(Key, Value)]

    Optionally selects the last element.

  94. def lift: (Key) ⇒ Option[Value]

    Turns this partial function into an plain function returning an Option result.

  95. def map[B](f: ((Key, Value)) ⇒ B): OpenHashMap[B]

    [use case] Builds a new collection by applying a function to all elements of this open hash map.

  96. def map[B, That](f: ((Key, Value)) ⇒ B)(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Builds a new collection by applying a function to all elements of this open hash map.

  97. def mapElements[C](f: (Value) ⇒ C): Map[Key, C]

  98. def mapResult[NewTo](f: (OpenHashMap[Key, Value]) ⇒ NewTo): Builder[(Key, Value), NewTo]

    Creates a new builder by applying a transformation function to the results of this builder.

  99. def mapValues[C](f: (Value) ⇒ C): Map[Key, C]

    Transforms this map by applying a function to every retrieved value.

  100. def max: (Key, Value)

    [use case] Finds the largest element.

  101. def max[B >: (Key, Value)](implicit cmp: Ordering[B]): (Key, Value)

    Finds the largest element.

  102. def min: (Key, Value)

    [use case] Finds the smallest element.

  103. def min[B >: (Key, Value)](implicit cmp: Ordering[B]): (Key, Value)

    Finds the smallest element.

  104. def mkString: String

    Displays all elements of this open hash map in a string.

  105. def mkString(sep: String): String

    Displays all elements of this open hash map in a string using a separator string.

  106. def mkString(start: String, sep: String, end: String): String

    Displays all elements of this open hash map in a string using start, end, and separator strings.

  107. def ne(arg0: AnyRef): Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

  108. def newBuilder: Builder[(Key, Value), OpenHashMap[Key, Value]]

    A common implementation of newBuilder for all mutable maps in terms of empty.

  109. def nonEmpty: Boolean

    Tests whether the open hash map is not empty.

  110. def notify(): Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

  111. def notifyAll(): Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

  112. def orElse[A1 <: Key, B1 >: Value](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]

    Composes this partial function with a fallback partial function which gets applied where this partial function is not defined.

  113. def partition(p: ((Key, Value)) ⇒ Boolean): (OpenHashMap[Key, Value], OpenHashMap[Key, Value])

    Partitions this open hash map in two open hash maps according to a predicate.

  114. def product: Int

    [use case] Multiplies up the elements of this collection.

  115. def product[B >: (Key, Value)](implicit num: Numeric[B]): B

    Multiplies up the elements of this collection.

  116. def projection: IterableView[(Key, Value), OpenHashMap[Key, Value]]

    returns a projection that can be used to call non-strict filter,map, and flatMap methods that build projections of the collection.

  117. def put(key: Key, value: Value): Option[Value]

    Adds a new key/value pair to this map and optionally returns previously bound value.

  118. def reduceLeft[B >: (Key, Value)](op: (B, (Key, Value)) ⇒ B): B

    Applies a binary operator to all elements of this open hash map, going left to right.

  119. def reduceLeftOption[B >: (Key, Value)](op: (B, (Key, Value)) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this open hash map, going left to right.

  120. def reduceRight[B >: (Key, Value)](op: ((Key, Value), B) ⇒ B): B

    Applies a binary operator to all elements of this open hash map, going right to left.

  121. def reduceRightOption[B >: (Key, Value)](op: ((Key, Value), B) ⇒ B): Option[B]

    Optionally applies a binary operator to all elements of this open hash map, going right to left.

  122. def remove(key: Key): Option[Value]

    Removes a key from this map, returning the value associated previously with that key as an option.

  123. def removeKey(key: Key): Option[Value]

    If given key is defined in this map, remove it and return associated value as an Option.

  124. def repr: OpenHashMap[Key, Value]

    The collection of type open hash map underlying this TraversableLike object.

  125. def result(): OpenHashMap[Key, Value]

    The result when this map is used as a builder

  126. def retain(f: (Key, Value) ⇒ Boolean): OpenHashMap[Key, Value]

    Retains only those mappings for which the predicate p returns true.

  127. def reversed: List[(Key, Value)]

  128. def sameElements(that: Iterable[(Key, Value)]): Boolean

    [use case] Checks if the other iterable collection contains the same elements in the same order as this open hash map.

  129. def sameElements[B >: (Key, Value)](that: Iterable[B]): Boolean

    Checks if the other iterable collection contains the same elements in the same order as this open hash map.

  130. def scanLeft[B, That](z: B)(op: (B, (Key, Value)) ⇒ B)(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Produces a collection containing cummulative results of applying the operator going left to right.

  131. def scanRight[B, That](z: B)(op: ((Key, Value), B) ⇒ B)(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], B, That]): That

    Produces a collection containing cummulative results of applying the operator going right to left.

  132. def size: Int

    The size of this open hash map.

  133. def sizeHint(coll: scala.collection.TraversableLike[_, _], delta: Int = 0): Unit

    Gives a hint that one expects the result of this builder to have the same size as the given collection, plus some delta.

  134. def sizeHint(size: Int): Unit

    Gives a hint how many elements are expected to be added when the next result is called.

  135. def sizeHintBounded(size: Int, boundingColl: scala.collection.TraversableLike[_, _]): Unit

    Gives a hint how many elements are expected to be added when the next result is called, together with an upper bound given by the size of some other collection.

  136. def slice(from: Int, until: Int): OpenHashMap[Key, Value]

    Selects an interval of elements.

  137. def sliding[B >: (Key, Value)](size: Int, step: Int): Iterator[OpenHashMap[Key, Value]]

  138. def sliding[B >: (Key, Value)](size: Int): Iterator[OpenHashMap[Key, Value]]

    Groups elements in fixed size blocks by passing a "sliding window" over them (as opposed to partitioning them, as is done in grouped.

  139. def span(p: ((Key, Value)) ⇒ Boolean): (OpenHashMap[Key, Value], OpenHashMap[Key, Value])

    Splits this open hash map into a prefix/suffix pair according to a predicate.

  140. def splitAt(n: Int): (OpenHashMap[Key, Value], OpenHashMap[Key, Value])

    Splits this open hash map into two at a given position.

  141. def stringPrefix: String

    Defines the prefix of this object's toString representation.

  142. def sum: Int

    [use case] Sums up the elements of this collection.

  143. def sum[B >: (Key, Value)](implicit num: Numeric[B]): B

    Sums up the elements of this collection.

  144. def synchronized[T0](arg0: T0): T0

  145. def tail: OpenHashMap[Key, Value]

    Selects all elements except the first.

  146. def take(n: Int): OpenHashMap[Key, Value]

    Selects first n elements.

  147. def takeRight(n: Int): OpenHashMap[Key, Value]

    Selects last n elements.

  148. def takeWhile(p: ((Key, Value)) ⇒ Boolean): OpenHashMap[Key, Value]

    Takes longest prefix of elements that satisfy a predicate.

  149. def thisCollection: Iterable[(Key, Value)]

    The underlying collection seen as an instance of OpenHashMap.

  150. def toArray: Array[(Key, Value)]

    [use case] Converts this open hash map to an array.

  151. def toArray[B >: (Key, Value)](implicit arg0: ClassManifest[B]): Array[B]

    Converts this open hash map to an array.

  152. def toBuffer[B >: (Key, Value)]: Buffer[B]

    Converts this open hash map to a mutable buffer.

  153. def toCollection(repr: OpenHashMap[Key, Value]): Iterable[(Key, Value)]

    A conversion from collections of type Repr to OpenHashMap objects.

  154. def toIndexedSeq[B >: (Key, Value)]: IndexedSeq[B]

    Converts this open hash map to an indexed sequence.

  155. def toIterable: Iterable[(Key, Value)]

    Converts this open hash map to an iterable collection.

  156. def toIterator: Iterator[(Key, Value)]

    Returns an Iterator over the elements in this open hash map.

  157. def toList: List[(Key, Value)]

    Converts this open hash map to a list.

  158. def toMap[T, U](implicit ev: <:<[(Key, Value), (T, U)]): Map[T, U]

    Converts this open hash map to a map.

  159. def toSeq: Seq[(Key, Value)]

    Converts this open hash map to a sequence.

  160. def toSet[B >: (Key, Value)]: Set[B]

    Converts this open hash map to a set.

  161. def toStream: Stream[(Key, Value)]

    Converts this open hash map to a stream.

  162. def toString(): String

    Converts this open hash map to a string.

  163. def toTraversable: Traversable[(Key, Value)]

    Converts this open hash map to an unspecified Traversable.

  164. def transform(f: (Key, Value) ⇒ Value): OpenHashMap[Key, Value]

    Applies a transformation function to all values contained in this map.

  165. def transpose[B](implicit asTraversable: ((Key, Value)) ⇒ Traversable[B]): Iterable[Iterable[B]]

    Transposes this open hash map of traversable collections into a open hash map of open hash maps.

  166. def unzip[A1, A2](implicit asPair: ((Key, Value)) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Converts this open hash map of pairs into two collections of the first and second halfs of each pair.

  167. def update(key: Key, value: Value): Unit

    Adds a new key/value pair to this map.

  168. def updated[B1 >: Value](key: Key, value: B1): Map[Key, B1]

    Creates a new map consisting of all key/value pairs of the current map plus a new pair of a given key and value.

  169. def values: Iterable[Value]

    Collects all values of this map in an iterable collection.

  170. def valuesIterator: Iterator[Value]

    Creates an iterator for all values in this map.

  171. def view(from: Int, until: Int): IterableView[(Key, Value), OpenHashMap[Key, Value]]

    Creates a non-strict view of a slice of this open hash map.

  172. def view: IterableView[(Key, Value), OpenHashMap[Key, Value]]

    Creates a non-strict view of this open hash map.

  173. def wait(): Unit

  174. def wait(arg0: Long, arg1: Int): Unit

  175. def wait(arg0: Long): Unit

  176. def withFilter(p: ((Key, Value)) ⇒ Boolean): FilterMonadic[(Key, Value), OpenHashMap[Key, Value]]

    Creates a non-strict filter of this open hash map.

  177. def zip[B](that: Iterable[B]): OpenHashMap[((Key, Value), B)]

    [use case] Returns a open hash map formed from this open hash map and another iterable collection by combining corresponding elements in pairs.

  178. def zip[A1 >: (Key, Value), B, That](that: Iterable[B])(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], (A1, B), That]): That

    Returns a open hash map formed from this open hash map and another iterable collection by combining corresponding elements in pairs.

  179. def zipAll[B](that: Iterable[B], thisElem: (Key, Value), thatElem: B): OpenHashMap[((Key, Value), B)]

    [use case] Returns a open hash map formed from this open hash map and another iterable collection by combining corresponding elements in pairs.

  180. def zipAll[B, A1 >: (Key, Value), That](that: Iterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[OpenHashMap[Key, Value], (A1, B), That]): That

    Returns a open hash map formed from this open hash map and another iterable collection by combining corresponding elements in pairs.

  181. def zipWithIndex: OpenHashMap[((Key, Value), Int)]

    [use case] Zips this open hash map with its indices.

  182. def zipWithIndex[A1 >: (Key, Value), That](implicit bf: CanBuildFrom[OpenHashMap[Key, Value], (A1, Int), That]): That

    Zips this open hash map with its indices.