scala.collection.MapOps.WithFilter
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], SerializableSpecializes WithFilter
for Map collection types by adding overloads to transformation operations that can return a Map.
class
WithFilter[
K,
V,
IterableCC,
MapCC,
CC]
Further refines the filter for this filtered
map collection.
Further refines the filter for this filtered
map collection.
the predicate used to test elements.
an object of class WithFilter
, which supports map
, flatMap
, foreach
, and withFilter
operations. All these operations apply to those elements of this map collection which also satisfy both p
and q
predicates.
Builds a new collection by applying a function to all elements of the filtered
outer collection containing this WithFilter
instance that satisfy
Builds a new collection by applying a function to all elements of the filtered
outer collection containing this WithFilter
instance that satisfy
the element type of the returned collection.
the function to apply to each element.
a new collection resulting from applying the given collection-valued function f
to each element of the filtered outer collection and concatenating the results.
Applies a function f
to all elements of the filtered
outer collection.
Applies a function f
to all elements of the filtered
outer collection.
the type parameter describing the result of function f
. This result will always be ignored. Typically U
is Unit
, but this is not necessary.
the function that is applied for its side-effect to every element. The result of function f
is discarded.
Builds a new collection by applying a function to all elements of the filtered
outer collection.
Builds a new collection by applying a function to all elements of the filtered
outer collection.
the element type of the returned collection.
the function to apply to each element.
a new collection resulting from applying the given function f
to each element of the filtered outer collection and collecting the results.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4