public class StatisticsCollection
extends java.lang.Object
构造器和说明 |
---|
StatisticsCollection(double max, double min, double mean, double standardDeviation, double variance) |
限定符和类型 | 方法和说明 |
---|---|
double |
getMax()
获取最大值
|
double |
getMean()
获取平均值
|
double |
getMin()
获取最小值
|
double |
getStandardDeviation()
获取标准差
|
double |
getVariance()
获取方差
|
void |
setMax(double max)
设置最大值
|
void |
setMean(double mean)
设置平均值
|
void |
setMin(double min)
设置最小值
|
void |
setStandardDeviation(double standardDeviation)
设置标准差
|
void |
setVariance(double variance)
设置方差
|
public StatisticsCollection(double max, double min, double mean, double standardDeviation, double variance)
max
- 最大值min
- 最小值mean
- 平均值standardDeviation
- 标准差variance
- 方差public double getMax()
public double getMin()
public double getMean()
public double getStandardDeviation()
public double getVariance()
public void setMax(double max)
max
- 最大值public void setMin(double min)
min
- 最小值public void setMean(double mean)
mean
- 平均值public void setStandardDeviation(double standardDeviation)
standardDeviation
- 标准差public void setVariance(double variance)
variance
- 方差