Example usage for Java java.util DoubleSummaryStatistics fields, constructors, methods, implement or subclass
The text is from its open source code.
DoubleSummaryStatistics() Constructs an empty instance with zero count, zero sum, Double.POSITIVE_INFINITY min, Double.NEGATIVE_INFINITY max and zero average. |
void | accept(double value) Records another value into the summary information. |
double | getAverage() Returns the arithmetic mean of values recorded, or zero if no values have been recorded. |
long | getCount() Return the count of values recorded. |
double | getMax() Returns the maximum recorded value, Double.NaN if any recorded value was NaN or Double.NEGATIVE_INFINITY if no values were recorded. |
double | getMin() Returns the minimum recorded value, Double.NaN if any recorded value was NaN or Double.POSITIVE_INFINITY if no values were recorded. |
double | getSum() Returns the sum of values recorded, or zero if no values have been recorded. |