HashTrieMap
final class HashTrieMap[K, +V](val bitmap: Int, val elems: Array[OldHashMap[K, V]], val size0: Int) extends OldHashMap[K, V]
trait Serializable
class AbstractMap[K, V]
trait Map[K, V]
trait Iterable[(K, V)]
class AbstractMap[K, V]
trait Map[K, V]
trait Equals
trait PartialFunction[K, V]
trait K => V
class AbstractIterable[(K, V)]
trait Iterable[(K, V)]
trait IterableFactoryDefaults[(K, V), [A] =>> Iterable[A]]
trait IterableOnce[(K, V)]
class Object
trait Matchable
class Any
Type members
Inherited classlikes
Value members
Concrete methods
Inherited methods
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
- Inherited from
- MapOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
- Inherited from
- IterableOnceOps
@deprecatedOverriding("This should always forward to the 3-arg version of this method", "2.13.4")
- Inherited from
- IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
- Inherited from
- MapOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
def merged[V1 >: V](that: OldHashMap[K, V1])(mergef: ((K, V1), (K, V1)) => (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 ++
.
- Type Params
- V1
the value type of the other hash map
- Value Params
- mergef
the merge function or null if the first key-value pair is to be picked
- that
the other hash map
- Inherited from
- OldHashMap
@deprecatedOverriding("nonEmpty is defined as !isEmpty; override isEmpty instead", "2.13.0")
- Inherited from
- IterableOnceOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps -> IterableOnceOps
- Inherited from
- StrictOptimizedIterableOps
override def unzip3[A1, A2, A3](asTriple: (K, V) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Definition Classes
- StrictOptimizedIterableOps -> IterableOps
- Inherited from
- StrictOptimizedIterableOps
override def withFilter(p: (K, V) => Boolean): WithFilter[K, V, [A] =>> Iterable[A], [K, V] =>> OldHashMap[K, V]]
- Definition Classes
- MapFactoryDefaults -> IterableOps
- Inherited from
- MapFactoryDefaults
Deprecated and Inherited methods
@deprecated("Use ++ with an explicit collection argument instead of + with varargs", "2.13.0")
- Deprecated
- Definition Classes
- StrictOptimizedMapOps -> MapOps
- Inherited from
- StrictOptimizedMapOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
- Deprecated
- Inherited from
- IterableOps
@deprecated("Use ++ instead of ++: for collections of type Iterable", "2.13.0")
- Deprecated
- Inherited from
- MapOps
@inline @deprecated("Use foldRight instead of :\\", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps
@deprecated("`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead.", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps
@inline @deprecatedOverriding("Use iterableFactory instead", "2.13.0") @deprecated("Use iterableFactory instead", "2.13.0")
- Deprecated
- Inherited from
- IterableOps
@inline @deprecated("Use `dest ++= coll` instead", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps
@deprecated("Use .view.filterKeys(f). A future version will include a strict version of this method (for now, .view.filterKeys(p).toMap).", "2.13.0")
- Deprecated
- Inherited from
- MapOps
@deprecated("Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps
@deprecated("Use .view.mapValues(f). A future version will include a strict version of this method (for now, .view.mapValues(f).toMap).", "2.13.0")
- Deprecated
- Inherited from
- MapOps
@deprecated("Use coll instead of repr in a collection implementation, use the collection value itself from the outside", "2.13.0")
- Deprecated
- Inherited from
- IterableOps
@deprecated("Iterable.seq always returns the iterable itself", "2.13.0")
- Deprecated
- Inherited from
- Iterable
@inline @deprecated("Use .iterator instead of .toIterator", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps
@inline @deprecated("Use .to(LazyList) instead of .toStream", "2.13.0")
- Deprecated
- Inherited from
- IterableOnceOps