Class IndexableDataDouble

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

public class IndexableDataDouble extends IndexableData<Double>
IndexableData with Double values.
See Also:
  • Constructor Details

    • IndexableDataDouble

      public IndexableDataDouble(IndexableNumericData data, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in data are mapped to null.
      Parameters:
      data - data
      mapNanToNull - if true, Double.NaN values are mapped to null
    • IndexableDataDouble

      public IndexableDataDouble(T[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Type Parameters:
      T - type of the data in values
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
    • IndexableDataDouble

      public IndexableDataDouble(short[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
    • IndexableDataDouble

      public IndexableDataDouble(int[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
      plotInfo - plot information
    • IndexableDataDouble

      public IndexableDataDouble(long[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
      plotInfo - plot information
    • IndexableDataDouble

      public IndexableDataDouble(float[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
      plotInfo - plot information
    • IndexableDataDouble

      public IndexableDataDouble(double[] values, boolean mapNanToNull, PlotInfo plotInfo)
      Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values in values are mapped to null.
      Parameters:
      values - data
      mapNanToNull - if true, Double.NaN values are mapped to null
      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<Double>
      Returns:
      the size of this dataset
    • get

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

      public boolean getMapNanToNull()