Builds a new EquaSet
by applying a function to all elements of the
outer EquaSet
containing this WithFilter
instance that satisfy
predicate p
and concatenating the results.
Builds a new EquaSet
by applying a function to all elements of the
outer EquaSet
containing this WithFilter
instance that satisfy
predicate p
and concatenating the results.
the function to apply to each element.
a new EquaSet
resulting from applying the given
EquaSet
-valued function f
to each element of the
outer EquaSet
that satisfies predicate p
and concatenating
the results.
Applies a function f
to all elements of the outer EquaSet
containing
this WithFilter
instance that satisfy predicate p
.
Applies a function f
to all elements of the outer EquaSet
containing
this WithFilter
instance that satisfy predicate p
.
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 EquaSet
by applying a function to all elements of the
outer EquaSet
containing this WithFilter
instance that satisfy predicate p
.
Builds a new EquaSet
by applying a function to all elements of the
outer EquaSet
containing this WithFilter
instance that satisfy predicate p
.
the function to apply to each element.
a new EquaSet
resulting from applying the given function
f
to each element of the outer EquaSet
that satisfies
predicate p
and collecting the results.
Further refines the filter for this EquaSet
.
Further refines the filter for this EquaSet
.
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 EquaSet
which
satisfy the predicate q
in addition to the predicate p
.
A class supporting filtered operations. Instances of this class are returned by method
withFilter
.