Package io.deephaven.plot.datasets.data
Class IndexableNumericData
java.lang.Object
io.deephaven.plot.datasets.data.IndexableNumericData
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
- Direct Known Subclasses:
IndexableNumericDataArrayDate
,IndexableNumericDataArrayDouble
,IndexableNumericDataArrayFloat
,IndexableNumericDataArrayInstant
,IndexableNumericDataArrayInt
,IndexableNumericDataArrayLong
,IndexableNumericDataArrayNumber
,IndexableNumericDataArrayShort
,IndexableNumericDataListNumber
,LiveIndexableNumericData
public abstract class IndexableNumericData
extends Object
implements PlotExceptionCause, Serializable
Dataset with indexed numeric values.
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
IndexableNumericData
- Parameters:
plotInfo
- plot information
-
-
Method Details
-
getPlotInfo
- Specified by:
getPlotInfo
in interfacePlotExceptionCause
-
size
public abstract int size()Gets the size of this dataset.- Returns:
- size of this dataset
-
get
public abstract double get(int index) Gets the value at the specifiedindex
as a double.- Parameters:
index
- index- Returns:
- value at
index
as a double
-
doubleIterator
Gets the iterator over this dataset.- Returns:
- dataset iterator
-
stream
Gets the values of this dataset as a stream of doubles.- Returns:
- stream of this dataset's values as doubles
-