Class DefaultIntervalXYDataset

All Implemented Interfaces:
ObjectInputValidation, Serializable, Cloneable, EventListener, PublicCloneable, Dataset, SeriesChangeListener, SeriesDataset, IntervalXYDataset, XYDataset

public class DefaultIntervalXYDataset extends AbstractIntervalXYDataset implements PublicCloneable
A dataset that defines a range (interval) for both the x-values and the y-values. This implementation uses six arrays to store the x, start-x, end-x, y, start-y and end-y values.

An alternative implementation of the IntervalXYDataset interface is provided by the XYIntervalSeriesCollection class.
See Also:
  • Field Details

    • seriesKeys

      private List seriesKeys
      Storage for the series keys. This list must be kept in sync with the seriesList.
    • seriesList

      private List seriesList
      Storage for the series in the dataset. We use a list because the order of the series is significant. This list must be kept in sync with the seriesKeys list.
  • Constructor Details

    • DefaultIntervalXYDataset

      public DefaultIntervalXYDataset()
      Creates a new DefaultIntervalXYDataset instance, initially containing no data.
  • Method Details