WithFilter

@SerialVersionUID(3L)
class WithFilter[+A, +CC[_]](self: IterableOps[A, CC, _], p: A => Boolean) extends WithFilter[A, CC] with Serializable

A trait that contains just the map, flatMap, foreach and withFilter methods of trait Iterable.

Type parameters:
A

Element type (e.g. Int)

CC

Collection type constructor (e.g. List)

Source:
Iterable.scala
class WithFilter[A, CC]
class Object
trait Matchable
class Any
class WithFilter[K, V, IterableCC, CC]
class WithFilter[K, V, IterableCC, MapCC, CC]
class WithFilter[A, IterableCC, CC]

Value members

Concrete methods

def flatMap[B](f: A => IterableOnce[B]): CC[B]
def foreach[U](f: A => U): Unit
def map[B](f: A => B): CC[B]
def withFilter(q: A => Boolean): WithFilter[A, CC]