ScanExtension<T> extension
Extends
- on
-
- Stream<
T>
- Stream<
Methods
-
scan<
S> (S accumulator(S accumulated, T value, int index), S seed) → Stream< S> -
Available on Stream<
Applies an accumulator function over a Stream sequence and returns each intermediate result. The seed value is used as the initial accumulator value.T> , provided by the ScanExtension extension