scala / 3.1 / scala / collection / sortedmapops$$withfilter.html

Class scala.collection.WithFilter

class WithFilter[K, +V, +IterableCC[_], +MapCC <: (Map), +CC <: ([X, Y] =>> Map[X, Y] & SortedMapOps[X, Y, CC, _])](self: SortedMapOps[K, V, CC, _] & MapOps[K, V, MapCC, _] & IterableOps[(K, V), IterableCC, _], p: (K, V) => Boolean) extends WithFilter[K, V, IterableCC, MapCC]

Specializes MapWithFilter for sorted Map collections

Supertypes

Concrete methods

Source
def flatMap[K2 : Ordering, V2](f: (K, V) => IterableOnce[(K2, V2)]): CC[K2, V2]

Source
def map[K2 : Ordering, V2](f: (K, V) => (K2, V2)): CC[K2, V2]

Source
override def withFilter(q: (K, V) => Boolean): WithFilter[K, V, IterableCC, MapCC, CC]

Definition Classes WithFilter -> WithFilter -> WithFilter

Inherited methods

Source
def flatMap[K2, V2](f: (K, V) => IterableOnce[(K2, V2)]): MapCC[K2, V2]

Inherited from WithFilter

Source
def flatMap[B](f: (K, V) => IterableOnce[B]): IterableCC[B]

Inherited from WithFilter

Source
def foreach[U](f: (K, V) => U): Unit

Inherited from WithFilter

Source
def map[K2, V2](f: (K, V) => (K2, V2)): MapCC[K2, V2]

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/SortedMapOps$$WithFilter.html