Class OutlierListCollection

java.lang.Object
org.jfree.chart.renderer.OutlierListCollection

public class OutlierListCollection
extends Object
A collection of outlier lists for a box and whisker plot. Each collection is associated with a single box and whisker entity. Outliers are grouped in lists for each entity. Lists contain one or more outliers, determined by whether overlaps have occurred. Overlapping outliers are grouped in the same list.
Author:
David Browning
See Also:
OutlierList
  • Constructor Summary

    Constructors
    Constructor Description
    OutlierListCollection()
    Creates a new empty collection.
  • Method Summary

    Modifier and Type Method Description
    boolean add​(Outlier outlier)
    Appends the specified element as a new OutlierList to the end of this list if it does not overlap an outlier in an existing list.
    Iterator iterator()
    Returns an iterator for the outlier lists.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • OutlierListCollection

      public OutlierListCollection()
      Creates a new empty collection.
  • Method Details

    • add

      public boolean add​(Outlier outlier)
      Appends the specified element as a new OutlierList to the end of this list if it does not overlap an outlier in an existing list. If it does overlap, it is appended to the outlier list which it overlaps and that list is updated.
      Parameters:
      outlier - element to be appended to this list.
      Returns:
      true (as per the general contract of Collection.add).
    • iterator

      public Iterator iterator()
      Returns an iterator for the outlier lists.
      Returns:
      An iterator.