On this page
Class scala.collection.WithFilter
@SerialVersionUID(3L)
class WithFilter[K, +V, +IterableCC[_], +CC <: ([_, _] =>> IterableOps[_, AnyConstr, _])](self: MapOps[K, V, CC, _] & IterableOps[(K, V), IterableCC, _], p: (K, V) => Boolean) extends WithFilter[(K, V), IterableCC] with Serializable
Specializes WithFilter
for Map collection types by adding overloads to transformation operations that can return a Map.
Supertypes | |
---|---|
Known subtypes |
Concrete methods
Source
def flatMap[K2, V2](f: (K, V) => IterableOnce[(K2, V2)]): CC[K2, V2]
Source
def map[K2, V2](f: (K, V) => (K2, V2)): CC[K2, V2]
Source
Definition Classes | WithFilter -> WithFilter |
---|
Inherited methods
Source
def flatMap[B](f: (K, V) => IterableOnce[B]): IterableCC[B]
Inherited from | WithFilter |
---|
Source
Inherited from | WithFilter |
---|
Source
def map[B](f: (K, V) => B): IterableCC[B]
Inherited from | WithFilter |
---|
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.1.1/scala/collection/MapOps$$WithFilter.html