Package io.deephaven.plot.datasets.data
Class IndexableDataDouble
java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<Double>
io.deephaven.plot.datasets.data.IndexableDataDouble
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
IndexableData
with Double
values.- See Also:
-
Constructor Summary
ConstructorDescriptionIndexableDataDouble
(double[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(float[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(int[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(long[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(short[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(IndexableNumericData data, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance.IndexableDataDouble
(T[] values, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataDouble instance. -
Method Summary
Methods inherited from class io.deephaven.plot.datasets.data.IndexableData
getPlotInfo
-
Constructor Details
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values indata
are mapped to null.- Parameters:
data
- datamapNanToNull
- if true, Double.NaN values are mapped to null
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Type Parameters:
T
- type of the data invalues
- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to null
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to null
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to nullplotInfo
- plot information
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to nullplotInfo
- plot information
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to nullplotInfo
- plot information
-
IndexableDataDouble
Creates an IndexableDataDouble instance. If mapNanToNull is true, Double.NaN values invalues
are mapped to null.- Parameters:
values
- datamapNanToNull
- if true, Double.NaN values are mapped to nullplotInfo
- plot information
-
-
Method Details
-
size
public int size()Description copied from class:IndexableData
Gets the size of this dataset.- Specified by:
size
in classIndexableData<Double>
- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableData
Gets the value at the given index.- Specified by:
get
in classIndexableData<Double>
- Parameters:
index
- index- Returns:
- value of this dataset at
index
-
getMapNanToNull
public boolean getMapNanToNull()
-