public class CastToDouble extends DataProcessor
dataInfo, dataSink, tag
Constructor | Description |
---|---|
CastToDouble() |
Sole constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected IData |
processData(IData data) |
Extracts a double from the input data and returns it encapsulated in a
DataDouble.
|
protected IDataInfo |
processDataInfo(IDataInfo inputDataInfo) |
Prepares processor to handle Data.
|
getDataInfo, getDataSink, getTag, putData, putDataInfo, setDataSink
protected IDataInfo processDataInfo(IDataInfo inputDataInfo)
processDataInfo
in class DataProcessor
inputDataInfo
- the DataInfo of the Data that will be input to this
DataProcessorjava.lang.IllegalArgumentException
- if input Data type is not one of those described in the
general class commentsprotected IData processData(IData data)
processData
in class DataProcessor
data
- a Data instance of the type indicated by the DataInfo at
constructionjava.lang.ClassCastException
- if the given Data is not of the same type as indicated by the
DataInfo given at construction