public class CastToDoubleArray extends DataProcessor
Casting for various types of Data is performed as follows:
dataInfo, dataSink, tag
Constructor | Description |
---|---|
CastToDoubleArray() |
Sole constructor.
|
Modifier and Type | Method | Description |
---|---|---|
protected IData |
processData(IData data) |
Copies input Data to a DataDoubleArray and returns it (the DataDataDoubleArray).
|
protected IDataInfo |
processDataInfo(IDataInfo inputDataInfo) |
Prepares processor to perform cast.
|
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 DataInfo is not one of the acceptable types, as described
in general comments for this classprotected IData processData(IData data)
processData
in class DataProcessor
data
- the Data for processingjava.lang.ClassCastException
- if input Data is not of the type indicated by the most recent
call to processDataInfo