public class BoxAndWhiskerItem extends java.lang.Object implements java.io.Serializable
Constructor and Description |
---|
BoxAndWhiskerItem(double mean,
double median,
double q1,
double q3,
double minRegularValue,
double maxRegularValue,
double minOutlier,
double maxOutlier,
java.util.List outliers)
Creates a new box-and-whisker item.
|
BoxAndWhiskerItem(java.lang.Number mean,
java.lang.Number median,
java.lang.Number q1,
java.lang.Number q3,
java.lang.Number minRegularValue,
java.lang.Number maxRegularValue,
java.lang.Number minOutlier,
java.lang.Number maxOutlier,
java.util.List outliers)
Creates a new box-and-whisker item.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Tests this object for equality with an arbitrary object.
|
java.lang.Number |
getMaxOutlier()
Returns the maximum outlier.
|
java.lang.Number |
getMaxRegularValue()
Returns the maximum regular value.
|
java.lang.Number |
getMean()
Returns the mean.
|
java.lang.Number |
getMedian()
Returns the median.
|
java.lang.Number |
getMinOutlier()
Returns the minimum outlier.
|
java.lang.Number |
getMinRegularValue()
Returns the minimum regular value.
|
java.util.List |
getOutliers()
Returns a list of outliers.
|
java.lang.Number |
getQ1()
Returns the first quartile.
|
java.lang.Number |
getQ3()
Returns the third quartile.
|
java.lang.String |
toString()
Returns a string representation of this instance, primarily for
debugging purposes.
|
public BoxAndWhiskerItem(java.lang.Number mean, java.lang.Number median, java.lang.Number q1, java.lang.Number q3, java.lang.Number minRegularValue, java.lang.Number maxRegularValue, java.lang.Number minOutlier, java.lang.Number maxOutlier, java.util.List outliers)
mean
- the mean (null
permitted).median
- the median (null
permitted).q1
- the first quartile (null
permitted).q3
- the third quartile (null
permitted).minRegularValue
- the minimum regular value (null
permitted).maxRegularValue
- the maximum regular value (null
permitted).minOutlier
- the minimum outlier (null
permitted).maxOutlier
- the maximum outlier (null
permitted).outliers
- the outliers (null
permitted).public BoxAndWhiskerItem(double mean, double median, double q1, double q3, double minRegularValue, double maxRegularValue, double minOutlier, double maxOutlier, java.util.List outliers)
mean
- the mean.median
- the medianq1
- the first quartile.q3
- the third quartile.minRegularValue
- the minimum regular value.maxRegularValue
- the maximum regular value.minOutlier
- the minimum outlier value.maxOutlier
- the maximum outlier value.outliers
- a list of the outliers.public java.lang.Number getMean()
null
).public java.lang.Number getMedian()
null
).public java.lang.Number getQ1()
null
).public java.lang.Number getQ3()
null
).public java.lang.Number getMinRegularValue()
null
).public java.lang.Number getMaxRegularValue()
null
).public java.lang.Number getMinOutlier()
null
).public java.lang.Number getMaxOutlier()
null
).public java.util.List getOutliers()
null
).public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to test against (null
permitted).