Package org.openjdk.jmc.common.xydata
Interface DataSeries<T>
- Type Parameters:
T
- Data type of the data points. In order to implement the interval checking ofcreateIterator(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 TypeMethodDescriptioncreateIterator
(long min, long max) Return an iterator with data points matching a specified X interval.
-
Method Details
-
createIterator
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 pointsmax
- the maximum X value of returned data points- Returns:
- an iterator of data points
-