Creates a generator by transforming values produced by the source with a partial function, dropping those values for which the partial function is not defined.
the partial function which filters and maps the generator.
a new generator which yields each value
x produced by this
generator for which
pf is defined
Creates a new generator from the source, with the first
n elements dropped, of if
n is higher than the length
of the underlying collection, the it mirrors the source,
Returns a generator over all the elements of the source
that satisfy the predicate
the predicate used to test values.
a generator which produces those values of the
source which satisfy the predicate
Applies a binary operator to a start value and all elements of this generator, going left to right.
is the result type of the binary operator.
is the start value.
the binary operator to apply
the result of inserting
op between consecutive elements
of this generator, going left to right with the start value
initial on the left. Returns
initial if the generator
Creates a new generator that maps all values produced by the source to new values using a transformation function.
is the transformation function
a new generator which transforms every value produced by
the source by applying the function
f to it.
Creates a new generator emitting an interval of the values produced by the source.
the index of the first generated element which forms part of the slice.
the index of the first element following the slice.
a generator which emits the element of the source
past the first
from elements using
and then takes
until - from elements,
Creates a new generator that will only return the first
elements of the source.
Converts this generator into a standard
Converts this generator into a Scala
Converts this generator into a Scala immutable