public interface Statistics
minimum,
maximum, mean (average), variance and
standard deviation.
The median value is not included in these statistics, since the median value cannot be rolled up given a series of statistics without having the original values. It is possible to compute the weighted median, but this loses effectiveness/value the more times it is rolled up.
| Modifier and Type | Field and Description |
|---|---|
static Statistics[] |
NO_STATISTICS
An empty statistics array.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCount()
Get the number of samples to which these statistics apply.
|
long |
getMaximum()
Get the maximum of the sampled values.
|
double |
getMean()
The mean (or average) of the sampled values.
|
long |
getMinimum()
Get the minimum of the sampled values.
|
double |
getStandardDeviation()
Get the standard deviation of the sampled values, which is a measure of how spread out the numbers are and is the square
root of the
variance. |
double |
getVariance()
Get the variance of the sampled values, which is the average of the squared differences from the
mean. |
static final Statistics[] NO_STATISTICS
int getCount()
long getMaximum()
long getMinimum()
double getMean()
double getVariance()
mean.double getStandardDeviation()
variance.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.