public class OutlierList extends java.lang.Object
Constructor and Description |
---|
OutlierList(Outlier outlier)
Creates a new list containing a single outlier.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(Outlier outlier)
Adds an outlier to the list.
|
Outlier |
getAveragedOutlier()
Returns the averaged outlier.
|
int |
getItemCount()
Returns the number of outliers in the list.
|
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.
|
void |
updateAveragedOutlier()
Updates the averaged outlier.
|
public OutlierList(Outlier outlier)
outlier
- the outlier.public boolean add(Outlier outlier)
outlier
- the outlier.public int getItemCount()
public Outlier getAveragedOutlier()
public void setAveragedOutlier(Outlier averagedOutlier)
averagedOutlier
- the averaged outlier.public boolean isMultiple()
true
if the list contains multiple outliers, and
false
otherwise.public void setMultiple(boolean multiple)
multiple
- the flag.public boolean isOverlapped(Outlier other)
true
if the outlier overlaps, and
false
otherwise.other
- the outlier.public void updateAveragedOutlier()