ScanExtension<T> extension

Extends

on
  • Stream<T>

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 optional seed value is used as the initial accumulator value. [...]