Module platform

Interface DomainInfo

All Known Implementing Classes:
CategoryTableXYDataset, DefaultTableXYDataset, DynamicTimeSeriesCollection, IntervalXYDelegate, TimePeriodValuesCollection, TimeSeriesCollection, TimeTableXYDataset, XYSeriesCollection

public interface DomainInfo
An interface (optional) that can be implemented by a dataset to assist in determining the minimum and maximum values. If not present, DatasetUtils will iterate over all the values in the dataset to get the bounds.
  • Method Summary

    Modifier and Type
    Method
    Description
    getDomainBounds(boolean includeInterval)
    Returns the range of the values in this dataset's domain.
    double
    getDomainLowerBound(boolean includeInterval)
    Returns the minimum x-value in the dataset.
    double
    getDomainUpperBound(boolean includeInterval)
    Returns the maximum x-value in the dataset.
  • Method Details

    • getDomainLowerBound

      double getDomainLowerBound(boolean includeInterval)
      Returns the minimum x-value in the dataset.
      Parameters:
      includeInterval - a flag that determines whether or not the x-interval is taken into account.
      Returns:
      The minimum value or Double.NaN if there are no values.
    • getDomainUpperBound

      double getDomainUpperBound(boolean includeInterval)
      Returns the maximum x-value in the dataset.
      Parameters:
      includeInterval - a flag that determines whether or not the x-interval is taken into account.
      Returns:
      The maximum value or Double.NaN if there are no values.
    • getDomainBounds

      Range getDomainBounds(boolean includeInterval)
      Returns the range of the values in this dataset's domain.
      Parameters:
      includeInterval - a flag that determines whether or not the x-interval is taken into account.
      Returns:
      The range (or null if the dataset contains no values).