Interface DataSeries<T>

Type Parameters:
T - Data type of the data points. In order to implement the interval checking of createIterator(long, long), it can be desirable that an X value can somehow be retrieved from the objects of this type.

public interface DataSeries<T>
Interface for objects that can produce a series of data points arranged on an X axis.
  • Method Summary

    Modifier and Type
    Method
    Description
    createIterator(long min, long max)
    Return an iterator with data points matching a specified X interval.
  • Method Details

    • createIterator

      Iterator<T> createIterator(long min, long max)
      Return an iterator with data points matching a specified X interval. The X interval is only a hint and the iterator may contain data points outside of the interval.
      Parameters:
      min - the minimum X value of returned data points
      max - the maximum X value of returned data points
      Returns:
      an iterator of data points