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
Type parameters
B
the element type of the returned collection.
Value parameters
f
the function to apply to each element.
Attributes
Returns
a new collection resulting from applying the given collection-valued function f to each element of the filtered outer collection and concatenating the results.
Further refines the filter for this filtered collection.
Further refines the filter for this filtered collection.
Value parameters
q
the predicate used to test elements.
Attributes
Returns
an object of class WithFilter, which supports map, flatMap, foreach, and withFilter operations. All these operations apply to those elements of this collection which also satisfy both p and q predicates.