Class IndexableData<T>
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<T>
- All Implemented Interfaces:
PlotExceptionCause,Serializable
- Direct Known Subclasses:
IndexableDataArray,IndexableDataArrayNullCategory,IndexableDataByte,IndexableDataCharacter,IndexableDataDBDateTime,IndexableDataDouble,IndexableDataFloat,IndexableDataInfinite,IndexableDataInteger,IndexableDataListNullCategory,IndexableDataLong,IndexableDataShort,IndexableDataWithDefault,LiveIndexableData
Dataset where values can be retrieved via an integer index.
- See Also:
-
Constructor Details
-
IndexableData
- Parameters:
plotInfo- plot information
-
-
Method Details
-
size
public abstract int size()Gets the size of this dataset.- Returns:
- the size of this dataset
-
get
Gets the value at the given index.- Parameters:
index- index- Returns:
- value of this dataset at
index
-
onClose
public void onClose()Tear down once a figure is removed. -
snapshot
-
getPlotInfo
- Specified by:
getPlotInfoin interfacePlotExceptionCause
-