INPUTALL
- INPUTSINGLE
- INPUTTS
- Given a double provider, convert and process returning a DoubleTimeSeries
public class DoubleProviderTimeSeriesConverter<INPUTALL,INPUTSINGLE,INPUTTS extends TimeSeries<INPUTALL,INPUTSINGLE,INPUTTS> & DoubleTimeSeriesProvider> extends Object implements TimeSeriesConverter<INPUTALL,INPUTSINGLE,INPUTTS,double[],Double,DoubleTimeSeries>
Constructor and Description |
---|
DoubleProviderTimeSeriesConverter() |
Modifier and Type | Method and Description |
---|---|
DoubleTimeSeries |
convert(INPUTTS series) |
DoubleTimeSeries |
convert(INPUTTS series,
TimeSeriesProcessor<double[],Double,DoubleTimeSeries> processor)
convert and process a time series
|
public DoubleProviderTimeSeriesConverter()
public DoubleTimeSeries convert(INPUTTS series)
convert
in interface TimeSeriesConverter<INPUTALL,INPUTSINGLE,INPUTTS extends TimeSeries<INPUTALL,INPUTSINGLE,INPUTTS> & DoubleTimeSeriesProvider,double[],Double,DoubleTimeSeries>
series
- convert the seriespublic DoubleTimeSeries convert(INPUTTS series, TimeSeriesProcessor<double[],Double,DoubleTimeSeries> processor)
TimeSeriesConverter
convert
in interface TimeSeriesConverter<INPUTALL,INPUTSINGLE,INPUTTS extends TimeSeries<INPUTALL,INPUTSINGLE,INPUTTS> & DoubleTimeSeriesProvider,double[],Double,DoubleTimeSeries>
series
- the input seriesprocessor
- the processor to alter the converted input