Package io.deephaven.plot.datasets.data
Class IndexableDataSwappableTableDouble
java.lang.Object
io.deephaven.plot.datasets.data.IndexableData<T>
io.deephaven.plot.datasets.data.LiveIndexableData<T>
io.deephaven.plot.datasets.data.IndexableDataSwappableTable<Double>
io.deephaven.plot.datasets.data.IndexableDataSwappableTableDouble
- All Implemented Interfaces:
PlotExceptionCause,Serializable
IndexableData dataset whose data is a column in a SwappableTable and whose indices are the row
numbers of the column.
Data values are converted to doubles.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionIndexableDataSwappableTableDouble(SwappableTable swappableTable, String column, PlotInfo plotInfo) Creates an IndexableDataSwappableTable instance. -
Method Summary
Methods inherited from class io.deephaven.plot.datasets.data.IndexableDataSwappableTable
get, sizeMethods inherited from class io.deephaven.plot.datasets.data.IndexableData
getPlotInfo
-
Constructor Details
-
IndexableDataSwappableTableDouble
public IndexableDataSwappableTableDouble(SwappableTable swappableTable, String column, PlotInfo plotInfo) Creates an IndexableDataSwappableTable instance. The data is acolumnin theswappableTable. Indices are the row numbers of the column.- Parameters:
swappableTable- swappable tablecolumn- column ofswappableTableholding the data valuesplotInfo- plot information- Throws:
RequirementFailure-swappableTableandcolumnmust not be nullIllegalArgumentException-columnmust be a column inswappableTableRuntimeException- data incolumnmust be numeric
-
-
Method Details
-
convert
Description copied from class:IndexableDataSwappableTableConverts between the value in the column and the return value of the provider.- Overrides:
convertin classIndexableDataSwappableTable<Double>- Parameters:
v- value in the column- Returns:
- value in the column converted to return type of the provider
-