Class IndexableData<T>

java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<T>
All Implemented Interfaces:
PlotExceptionCause, Serializable
Direct Known Subclasses:
IndexableDataArray, IndexableDataArrayNullCategory, IndexableDataByte, IndexableDataCharacter, IndexableDataDouble, IndexableDataInfinite, IndexableDataInstant, IndexableDataInteger, IndexableDataListNullCategory, IndexableDataWithDefault, LiveIndexableData

public abstract class IndexableData<T> extends Object implements Serializable, PlotExceptionCause
Dataset where values can be retrieved via an integer index.
See Also:
  • Constructor Details

    • IndexableData

      public IndexableData(PlotInfo plotInfo)
      Parameters:
      plotInfo - plot information
  • Method Details

    • size

      public abstract int size()
      Gets the size of this dataset.
      Returns:
      the size of this dataset
    • get

      public abstract T get(int index)
      Gets the value at the given index.
      Parameters:
      index - index
      Returns:
      value of this dataset at index
    • getPlotInfo

      public PlotInfo getPlotInfo()
      Specified by:
      getPlotInfo in interface PlotExceptionCause