forEach abstract method
Applies the provided action to each element.
Example
DoubleStream.of([1.5, 2.5, 3.5])
.forEach(print); // prints 1.5, 2.5, 3.5
Implementation
void forEach(void Function(double) action);
Applies the provided action to each element.
DoubleStream.of([1.5, 2.5, 3.5])
.forEach(print); // prints 1.5, 2.5, 3.5
void forEach(void Function(double) action);