|
Header
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.data.statistics.MeanAndStandardDeviation
public class MeanAndStandardDeviation
A simple data structure that holds a mean value and a standard deviation
value. This is used in the
DefaultStatisticalCategoryDataset class.
| Constructor Summary | |
|---|---|
MeanAndStandardDeviation(double mean,
double standardDeviation)
Creates a new mean and standard deviation record. |
|
MeanAndStandardDeviation(java.lang.Number mean,
java.lang.Number standardDeviation)
Creates a new mean and standard deviation record. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
java.lang.Number |
getMean()
Returns the mean. |
double |
getMeanValue()
Returns the mean as a double primitive. |
java.lang.Number |
getStandardDeviation()
Returns the standard deviation. |
double |
getStandardDeviationValue()
Returns the standard deviation as a double primitive. |
java.lang.String |
toString()
Returns a string representing this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MeanAndStandardDeviation(double mean,
double standardDeviation)
mean - the mean.standardDeviation - the standard deviation.
public MeanAndStandardDeviation(java.lang.Number mean,
java.lang.Number standardDeviation)
mean - the mean (null permitted).standardDeviation - the standard deviation (null
permitted.| Method Detail |
|---|
public java.lang.Number getMean()
public double getMeanValue()
null, this method will return Double.NaN.
getMean()public java.lang.Number getStandardDeviation()
public double getStandardDeviationValue()
null, this method will return
Double.NaN.
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - the object (null permitted).
public java.lang.String toString()
toString in class java.lang.Object
|
Footer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||