org.jfree.data.statistics
Class MeanAndStandardDeviation
java.lang.Objectorg.jfree.data.statistics.MeanAndStandardDeviation
- Serializable
extends java.lang.Object
implements Serializable
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.
|
MeanAndStandardDeviation
public MeanAndStandardDeviation(Number mean,
Number standardDeviation) Creates a new mean and standard deviation record.
mean - the mean (null permitted).standardDeviation - the standard deviation (null
permitted.
MeanAndStandardDeviation
public MeanAndStandardDeviation(double mean,
double standardDeviation) Creates a new mean and standard deviation record.
mean - the mean.standardDeviation - the standard deviation.
equals
public boolean equals(Object obj)
Tests this instance for equality with an arbitrary object.
obj - the object (null permitted).
getMean
public Number getMean()
Returns the mean.
getMeanValue
public double getMeanValue()
Returns the mean as a double primitive. If the underlying mean is
null, this method will return Double.NaN.
getStandardDeviationValue
public double getStandardDeviationValue()
Returns the standard deviation as a double primitive. If the underlying
standard deviation is null, this method will return
Double.NaN.
toString
public String toString()
Returns a string representing this instance.