Class IndexableDataArrayNullCategory<T>
java.lang.Object
com.illumon.iris.db.plot.datasets.data.IndexableData<T>
com.illumon.iris.db.plot.datasets.data.IndexableDataArrayNullCategory<T>
- All Implemented Interfaces:
PlotExceptionCause,Serializable
IndexableData dataset backed by an array. If the array contains a null value,
return a NULL_CATEGORY.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataArrayNullCategory(T[] data, PlotInfo plotInfo) Creates an IndexableDataArray instance. -
Method Summary
Methods inherited from class com.illumon.iris.db.plot.datasets.data.IndexableData
getPlotInfo, onClose, snapshot
-
Constructor Details
-
IndexableDataArrayNullCategory
Creates an IndexableDataArray instance.- Parameters:
data- dataplotInfo- plot information- Throws:
com.fishlib.base.verify.RequirementFailure-datamust not be null
-
-
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
-