|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ijchart.xychart.render.category.outlier.OutlierList
public class OutlierList
Title: IJChart
Description: a chart library for the Java(tm) platform.
A collection of outliers for a single entity in a box and whisker plot. Outliers are grouped in lists for each entity. Lists contain one or more outliers, determined by whether overlaps have occured. Overlapping outliers are grouped in the same list. Each list contains an averaged outlier, which is the same as a single outlier if there is only one outlier in the list, but the average of all the outliers in the list if there is more than one. NB This is simply my scheme for displaying outliers, and might not be acceptable by the wider community.Copyright: Copyright (c) 2013
Company:
Constructor Summary | |
---|---|
OutlierList(Outlier outlier)
Creates a new list containing a single outlier. |
Method Summary | |
---|---|
boolean |
add(Outlier outlier)
Adds an outlier to the list. |
java.lang.Object |
clone()
Creates and returns a copy of this object. |
boolean |
equals(java.lang.Object obj)
Tests this instance for equality with an arbitrary object. |
Outlier |
getAveragedOutlier()
Returns the averaged outlier. |
int |
getItemCount()
Returns the number of outliers in the list. |
int |
hashCode()
Returns a hash code value for the object. |
boolean |
isMultiple()
Returns true if the list contains multiple outliers, and false otherwise. |
boolean |
isOverlapped(Outlier other)
Returns true if the outlier overlaps, and false otherwise. |
void |
setAveragedOutlier(Outlier averagedOutlier)
Sets the averaged outlier. |
void |
setMultiple(boolean multiple)
Sets the flag that indicates whether or not this list represents multiple outliers. |
java.lang.String |
toString()
Returns a textual representation of the outlier. |
void |
updateAveragedOutlier()
Updates the averaged outlier. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OutlierList(Outlier outlier)
outlier
- Outlier
The outlier.Method Detail |
---|
public boolean add(Outlier outlier)
outlier
- Outlier
The outlier.
public int getItemCount()
public Outlier getAveragedOutlier()
public void setAveragedOutlier(Outlier averagedOutlier)
averagedOutlier
- Outlier
The averaged outlier.public boolean isMultiple()
public void setMultiple(boolean multiple)
multiple
- boolean
A boolean.public boolean isOverlapped(Outlier other)
other
- Outlier
The outlier.
public void updateAveragedOutlier()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object (null permitted).
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- if the object's class does not
support the Cloneable interface. Subclasses
that override the clone method can also
throw this exception to indicate that an instance cannot
be cloned.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |