Package io.deephaven.plot.datasets.data
Class IndexableDataInfinite<T>
java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<T>
io.deephaven.plot.datasets.data.IndexableDataInfinite<T>
- All Implemented Interfaces:
PlotExceptionCause,Serializable
IndexableData dataset which ensures no IndexOutOfBoundsExceptions are thrown. Instead, null values
are returned.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataInfinite(@NotNull IndexableData<T> data) Creates an IndexableDataInfinite instance, which wrapsdatasuch that out-of-bounds indices return null values. -
Method Summary
Methods inherited from class io.deephaven.plot.datasets.data.IndexableData
getPlotInfo
-
Constructor Details
-
IndexableDataInfinite
Creates an IndexableDataInfinite instance, which wrapsdatasuch that out-of-bounds indices return null values.
-
-
Method Details
-
size
public int size()Description copied from class:IndexableDataGets the size of this dataset.- Specified by:
sizein classIndexableData<T>- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableDataGets the value at the given index.- Specified by:
getin classIndexableData<T>- Parameters:
index- index- Returns:
- value of this dataset at
index
-