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