Class IndexableDataFloat
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<Float>
com.illumon.iris.db.plot.datasets.data.IndexableDataFloat
- All Implemented Interfaces:
PlotExceptionCause,Serializable
IndexableData with Float values.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataFloat(float[] data, boolean mapNanToNull, PlotInfo plotInfo) Creates an IndexableDataFloat instance. -
Method Summary
Methods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableData
getPlotInfo, onClose, snapshot
-
Constructor Details
-
IndexableDataFloat
Creates an IndexableDataFloat instance. If mapNanToNull is true, Float.NaN values invaluesare mapped to null.- Parameters:
data- datamapNanToNull- if true, Float.NaN values are mapped to nullplotInfo- plot information
-
-
Method Details
-
size
public int size()Description copied from class:IndexableDataGets the size of this dataset.- Specified by:
sizein classIndexableData<Float>- Returns:
- the size of this dataset
-
get
Description copied from class:IndexableDataGets the value at the given index.- Specified by:
getin classIndexableData<Float>- Parameters:
index- index- Returns:
- value of this dataset at
index
-