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.

Source:
Map.scala
class WithFilter[(K, V), IterableCC]
class WithFilter[(K, V), IterableCC]
class Object
trait Matchable
class Any
class WithFilter[K, V, IterableCC, MapCC, CC]

Value members

Concrete methods

def flatMap[K2, V2](f: (K, V) => IterableOnce[(K2, V2)]): CC[K2, V2]
Source:
Map.scala
def map[K2, V2](f: (K, V) => (K2, V2)): CC[K2, V2]
Source:
Map.scala
override def withFilter(q: (K, V) => Boolean): WithFilter[K, V, IterableCC, CC]
Definition Classes
Source:
Map.scala

Inherited methods

def flatMap[B](f: (K, V) => IterableOnce[B]): IterableCC[B]
Inherited from:
WithFilter
Source:
Iterable.scala
def foreach[U](f: (K, V) => U): Unit
Inherited from:
WithFilter
Source:
Iterable.scala
def map[B](f: (K, V) => B): IterableCC[B]
Inherited from:
WithFilter
Source:
Iterable.scala