GenericBatch
Reusable Batch base class that can be used for implementing generators that simply modify their underlying cursor reference.
Reusable Batch base class that can be used for implementing generators that simply modify their underlying cursor reference.
Value members
Concrete methods
Transforms this generator with a mapping function for the underlying BatchCursor.
Transforms this generator with a mapping function for the underlying BatchCursor.
NOTE: application of this function can be either strict or lazy (depending on the underlying generator type), but it does not modify the original collection.
- if this generator is an
Array
-backed generator, the given function will be applied immediately to create a new array with an accompanying generator. - if this generator is backed by
Iterable
, then the given function will be applied lazily, on demand
- Value Params
- f
is the function used
- Returns
a new generator with its underlying sequence transformed by the mapping function