average abstract method
Returns the arithmetic mean of values in the stream.
Example
final avg = IntStream.range(1, 5).average(); // 2.5
Implementation
double average();
Returns the arithmetic mean of values in the stream.
final avg = IntStream.range(1, 5).average(); // 2.5
double average();