Interface Stats
-
- All Known Implementing Classes:
Stat
public interface Stats
- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
max()
double
mean()
long
min()
long
num()
long
sum()
-
-
-
Method Detail
-
min
long min()
- Returns:
- the minimum data point seen, or 0 if no data was seen
-
max
long max()
- Returns:
- the maximum data point seen, or 0 if no data was seen
-
mean
double mean()
- Returns:
- the mean of the data points seen, or
Double.NaN
if no data was seen
-
sum
long sum()
- Returns:
- the sum of the data points seen, or 0 if no data was seen
-
num
long num()
- Returns:
- the number of data points seen
-
-