trait IterableMap[K, +V] extends IterableMap[K, V] with Map[K, V] with MapOps[K, V, [K, V] =>> IterableMap[K, V], IterableMap[K, V]] with MapFactoryDefaults[K, V, [K, V] =>> IterableMap[K, V], [A] =>> Iterable[A]] with DefaultSerializable
This trait represents an immutable scala.collection.immutable.Map that can be efficiently iterated.
- Type Params
- K
the type of the keys contained in this map.
- V
the type of the values associated with the keys in this map.
- Companion
- object
trait DefaultSerializable
trait Serializable
trait Map[K, V]
trait Iterable[(K, V)]
trait Map[K, V]
trait Equals
trait PartialFunction[K, V]
trait 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
Inherited methods
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
- Inherited from
- MapOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
- Inherited from
- IterableOnceOps
@deprecatedOverriding(message = "This should always forward to the 3-arg version of this method", since = "2.13.4")
- Inherited from
- IterableOnceOps
@throws(scala.this.throws.$lessinit$greater$default$1[scala.NoSuchElementException])
- Inherited from
- MapOps
@deprecatedOverriding(message = "nonEmpty is defined as !isEmpty; override isEmpty instead", since = "2.13.0")
- Inherited from
- IterableOnceOps
def unzip3[A1, A2, A3](implicit asTriple: (K, V) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
- Inherited from
- IterableOps
override def withFilter(p: (K, V) => Boolean): WithFilter[K, V, [A] =>> Iterable[A], [K, V] =>> IterableMap[K, V]]
- Definition Classes
- MapFactoryDefaults -> IterableOps
- Inherited from
- MapFactoryDefaults
Deprecated and Inherited methods
@deprecated(message = "Use ++ with an explicit collection argument instead of + with varargs", since = "2.13.0")
- Deprecated
[Since version 2.13.0]Use ++ with an explicit collection argument instead of + with varargs- Inherited from
- MapOps
@deprecated(message = "Use ++ instead of ++: for collections of type Iterable", since = "2.13.0")
- 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")
- Deprecated
[Since version 2.13.0]Use ++ instead of ++: for collections of type Iterable- Inherited from
- MapOps
@deprecated(message = "Use -- with an explicit collection", since = "2.13.0")
- Deprecated
[Since version 2.13.0]Use -- with an explicit collection- Inherited from
- MapOps
@inline @deprecated(message = "Use foldLeft instead of /:", since = "2.13.0")
- Deprecated
[Since version 2.13.0]Use foldLeft instead of /:- Inherited from
- IterableOnceOps
@inline @deprecated(message = "Use foldRight instead of :\\", since = "2.13.0")
- 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")
- 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")
- 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")
- 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")
- 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")
- 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
@deprecated(message = "Iterable.seq always returns the iterable itself", since = "2.13.0")
- Deprecated
[Since version 2.13.0]Iterable.seq always returns the iterable itself- Inherited from
- Iterable
@inline @deprecated(message = "Use .iterator instead of .toIterator", since = "2.13.0")
- 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")
- Deprecated
[Since version 2.13.0]Use .to(LazyList) instead of .toStream- Inherited from
- IterableOnceOps
@deprecated(message = "Use toIterable instead", since = "2.13.0")
- Deprecated
[Since version 2.13.0]Use toIterable instead- Inherited from
- IterableOps