Package io.deephaven.plot.datasets.data
Class IndexableDataInstant
java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<Instant>
io.deephaven.plot.datasets.data.IndexableDataInstant
- All Implemented Interfaces:
PlotExceptionCause
,Serializable
IndexableData
dataset with Instant
values.
Dataset values equal to QueryConstants.NULL_LONG
are treated as null.- See Also:
-
Constructor Summary
ConstructorDescriptionIndexableDataInstant
(long[] data, PlotInfo plotInfo) Creates an IndexableDataInstant instance. -
Method Summary
Methods inherited from class io.deephaven.plot.datasets.data.IndexableData
getPlotInfo
-
Constructor Details
-
IndexableDataInstant
Creates an IndexableDataInstant instance. Values indata
equal toQueryConstants.NULL_LONG
are treated as null.- Parameters:
data
- dataplotInfo
- plot information
-
-
Method Details
-
size
public int size()Description copied from class:IndexableData
Gets the size of this dataset.- Specified by:
size
in classIndexableData<Instant>
- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableData
Gets the value at the given index.- Specified by:
get
in classIndexableData<Instant>
- Parameters:
index
- index- Returns:
- value of this dataset at
index
-