Packages

class MapWithFilter extends WithFilter

Specializes WithFilter for Map collection types

Linear Supertypes
MapOps.WithFilter, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MapWithFilter
  2. WithFilter
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MapWithFilter(p: ((K, V)) ⇒ Boolean)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def filtered: Filter[(K, V)]
    Attributes
    protected[this]
    Definition Classes
    WithFilter
  9. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def flatMap[K2, V2](f: ((K, V)) ⇒ IterableOnce[(K2, V2)]): CC[K2, V2]
  11. def flatMap[B](f: ((K, V)) ⇒ IterableOnce[B]): Iterable[B]

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

    Builds a new collection by applying a function to all elements of the filtered outer $coll 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 $coll resulting from applying the given collection-valued function f to each element of the filtered outer $coll and concatenating the results.

    Definition Classes
    WithFilter
  12. def foreach[U](f: ((K, V)) ⇒ U): Unit

    Applies a function f to all elements of the filtered outer $coll.

    Applies a function f to all elements of the filtered outer $coll.

    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
    WithFilter
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def map[K2, V2](f: ((K, V)) ⇒ (K2, V2)): CC[K2, V2]
  17. def map[B](f: ((K, V)) ⇒ B): Iterable[B]

    Builds a new collection by applying a function to all elements of the filtered outer $coll.

    Builds a new collection by applying a function to all elements of the filtered outer $coll.

    B

    the element type of the returned collection.

    f

    the function to apply to each element.

    returns

    a new $coll resulting from applying the given function f to each element of the filtered outer $coll and collecting the results.

    Definition Classes
    WithFilter
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. def withFilter(q: ((K, V)) ⇒ Boolean): MapWithFilter

    Further refines the filter for this filtered $coll.

    Further refines the filter for this filtered $coll.

    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 $coll which also satisfy both p and q predicates.

    Definition Classes
    MapWithFilterWithFilter

Inherited from MapOps.WithFilter

Inherited from AnyRef

Inherited from Any

Ungrouped