public class MeanAndStandardDeviation extends Object implements Serializable
DefaultStatisticalCategoryDataset
class.Constructor and Description |
---|
MeanAndStandardDeviation(double mean,
double standardDeviation)
Creates a new mean and standard deviation record.
|
MeanAndStandardDeviation(Number mean,
Number standardDeviation)
Creates a new mean and standard deviation record.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Tests this instance for equality with an arbitrary object.
|
Number |
getMean()
Returns the mean.
|
double |
getMeanValue()
Returns the mean as a double primitive.
|
Number |
getStandardDeviation()
Returns the standard deviation.
|
double |
getStandardDeviationValue()
Returns the standard deviation as a double primitive.
|
String |
toString()
Returns a string representing this instance.
|
public MeanAndStandardDeviation(double mean, double standardDeviation)
mean
- the mean.standardDeviation
- the standard deviation.public MeanAndStandardDeviation(Number mean, Number standardDeviation)
mean
- the mean (null
permitted).standardDeviation
- the standard deviation (null
permitted.public double getMeanValue()
null
, this method will return Double.NaN
.getMean()
public Number getStandardDeviation()
public double getStandardDeviationValue()
null
, this method will return
Double.NaN
.Copyright © 2000-2009 by Object Refinery Limited. All Rights Reserved.