Packages

class WithFilter[K, +V, +IterableCC[_], +MapCC[X, Y] <: Map[X, Y], +CC[X, Y] <: Map[X, Y] with SortedMapOps[X, Y, CC, _]] extends MapOps.WithFilter[K, V, IterableCC, MapCC]

Specializes MapWithFilter for sorted Map collections

Source
SortedMap.scala
Linear Supertypes
MapOps.WithFilter[K, V, IterableCC, MapCC], IterableOps.WithFilter[(K, V), IterableCC], collection.WithFilter[(K, V), IterableCC], java.io.Serializable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WithFilter
  2. WithFilter
  3. WithFilter
  4. WithFilter
  5. Serializable
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WithFilter(self: SortedMapOps[K, V, CC, _] with MapOps[K, V, MapCC, _] with IterableOps[(K, V), IterableCC, _], p: ((K, V)) => Boolean)

Value Members

  1. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)])(implicit arg0: Ordering[K2]): CC[K2, V2]
  2. def flatMap[K2, V2](f: ((K, V)) => IterableOnce[(K2, V2)]): MapCC[K2, V2]
    Definition Classes
    WithFilter
  3. def flatMap[B](f: ((K, V)) => IterableOnce[B]): IterableCC[B]

    Builds a new collection by applying a function to all elements of the filtered outer sorted map collection containing this WithFilter instance that satisfy

    Builds a new collection by applying a function to all elements of the filtered outer sorted map collection containing this WithFilter instance that satisfy

    B

    the element type of the returned collection.

    f

    the function to apply to each element.

    returns

    a new sorted map collection resulting from applying the given collection-valued function f to each element of the filtered outer sorted map collection and concatenating the results.

    Definition Classes
    WithFilterWithFilter
  4. def foreach[U](f: ((K, V)) => U): Unit

    Applies a function f to all elements of the filtered outer sorted map collection.

    Applies a function f to all elements of the filtered outer sorted map collection.

    U

    the type parameter describing the result of function f. This result will always be ignored. Typically U is Unit, but this is not necessary.

    f

    the function that is applied for its side-effect to every element. The result of function f is discarded.

    Definition Classes
    WithFilterWithFilter
  5. def map[K2, V2](f: ((K, V)) => (K2, V2))(implicit arg0: Ordering[K2]): CC[K2, V2]
  6. def map[K2, V2](f: ((K, V)) => (K2, V2)): MapCC[K2, V2]
    Definition Classes
    WithFilter
  7. def map[B](f: ((K, V)) => B): IterableCC[B]

    Builds a new collection by applying a function to all elements of the filtered outer sorted map collection.

    Builds a new collection by applying a function to all elements of the filtered outer sorted map collection.

    B

    the element type of the returned collection.

    f

    the function to apply to each element.

    returns

    a new sorted map collection resulting from applying the given function f to each element of the filtered outer sorted map collection and collecting the results.

    Definition Classes
    WithFilterWithFilter
  8. def withFilter(q: ((K, V)) => Boolean): WithFilter[K, V, IterableCC, MapCC, CC]

    Further refines the filter for this filtered sorted map collection.

    Further refines the filter for this filtered sorted map collection.

    q

    the predicate used to test elements.

    returns

    an object of class WithFilter, which supports map, flatMap, foreach, and withFilter operations. All these operations apply to those elements of this sorted map collection which also satisfy both p and q predicates.

    Definition Classes
    WithFilterWithFilterWithFilterWithFilter