Class IndexableDataInteger

java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<Integer>
io.deephaven.plot.datasets.data.IndexableDataInteger
All Implemented Interfaces:
PlotExceptionCause, Serializable

public class IndexableDataInteger extends IndexableData<Integer>
IndexableData dataset with Integer values. Dataset values equal to QueryConstants.NULL_INT are treated as null.
See Also:
  • Constructor Details

    • IndexableDataInteger

      public IndexableDataInteger(int[] data, PlotInfo plotInfo)
      Creates an IndexableDataInteger instance. Values in data equal to QueryConstants.NULL_INT are treated as null.
      Parameters:
      data - data
      plotInfo - plot information
  • Method Details

    • size

      public int size()
      Description copied from class: IndexableData
      Gets the size of this dataset.
      Specified by:
      size in class IndexableData<Integer>
      Returns:
      the size of this dataset
    • get

      public Integer get(int index)
      Description copied from class: IndexableData
      Gets the value at the given index.
      Specified by:
      get in class IndexableData<Integer>
      Parameters:
      index - index
      Returns:
      value of this dataset at index