public class StatisticalData extends Object implements Statistics
StatisticsNO_STATISTICS| Constructor and Description |
|---|
StatisticalData(int count,
long maximum,
long minimum,
double mean,
double variance) |
| 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. |
@ConstructorProperties(value={"count","maximum","minimum","mean","variance"}) public StatisticalData(int count, long maximum, long minimum, double mean, double variance)
count - number of elements in the samplemaximum - max value from the sampleminimum - min value from the samplemean - sample meanvariance - sample variancepublic int getCount()
StatisticsgetCount in interface Statisticspublic long getMaximum()
StatisticsgetMaximum in interface Statisticspublic long getMinimum()
StatisticsgetMinimum in interface Statisticspublic double getMean()
StatisticsgetMean in interface Statisticspublic double getVariance()
Statisticsmean.getVariance in interface Statisticspublic double getStandardDeviation()
Statisticsvariance.getStandardDeviation in interface StatisticsCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.