org.jfree.data.statistics
Class BoxAndWhiskerItem
java.lang.Objectorg.jfree.data.statistics.BoxAndWhiskerItem
- Serializable
extends java.lang.Object
implements Serializable
Represents one data item within a box-and-whisker dataset. Instances of
this class are immutable.
BoxAndWhiskerItem(Number mean, Number median, Number q1, Number q3, Number minRegularValue, Number maxRegularValue, Number minOutlier, Number maxOutlier, List outliers)- Creates a new box-and-whisker item.
|
BoxAndWhiskerItem(double mean, double median, double q1, double q3, double minRegularValue, double maxRegularValue, double minOutlier, double maxOutlier, List outliers)- Creates a new box-and-whisker item.
|
boolean | equals(Object obj)- Tests this object for equality with an arbitrary object.
|
Number | getMaxOutlier()- Returns the maximum outlier.
|
Number | getMaxRegularValue()- Returns the maximum regular value.
|
Number | getMean()- Returns the mean.
|
Number | getMedian()- Returns the median.
|
Number | getMinOutlier()- Returns the minimum outlier.
|
Number | getMinRegularValue()- Returns the minimum regular value.
|
List | getOutliers()- Returns a list of outliers.
|
Number | getQ1()- Returns the first quartile.
|
Number | getQ3()- Returns the third quartile.
|
String | toString()- Returns a string representation of this instance, primarily for
debugging purposes.
|
BoxAndWhiskerItem
public BoxAndWhiskerItem(Number mean,
Number median,
Number q1,
Number q3,
Number minRegularValue,
Number maxRegularValue,
Number minOutlier,
Number maxOutlier,
List outliers) Creates a new box-and-whisker item.
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).
BoxAndWhiskerItem
public BoxAndWhiskerItem(double mean,
double median,
double q1,
double q3,
double minRegularValue,
double maxRegularValue,
double minOutlier,
double maxOutlier,
List outliers) Creates a new box-and-whisker item.
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.
equals
public boolean equals(Object obj)
Tests this object for equality with an arbitrary object.
obj - the object to test against (null permitted).
getMaxOutlier
public Number getMaxOutlier()
Returns the maximum outlier.
- The maximum outlier (possibly
null).
getMaxRegularValue
public Number getMaxRegularValue()
Returns the maximum regular value.
- The maximum regular value (possibly
null).
getMean
public Number getMean()
Returns the mean.
- The mean (possibly
null).
getMedian
public Number getMedian()
Returns the median.
- The median (possibly
null).
getMinOutlier
public Number getMinOutlier()
Returns the minimum outlier.
- The minimum outlier (possibly
null).
getMinRegularValue
public Number getMinRegularValue()
Returns the minimum regular value.
- The minimum regular value (possibly
null).
getOutliers
public List getOutliers()
Returns a list of outliers.
- A list of outliers (possibly
null).
getQ1
public Number getQ1()
Returns the first quartile.
- The first quartile (possibly
null).
getQ3
public Number getQ3()
Returns the third quartile.
- The third quartile (possibly
null).
toString
public String toString()
Returns a string representation of this instance, primarily for
debugging purposes.
- A string representation of this instance.