Package net.maswag.falcaun
Class ExtendedSignalMapper
java.lang.Object
net.maswag.falcaun.ExtendedSignalMapper
- All Implemented Interfaces:
SignalMapper
Class to construct pseudo signals from concrete signals
- Author:
- Masaki Waga <masakiwaga@gmail.com>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoubleapply(int index, IOSignalPiece<List<Double>> concreteSignal) static ExtendedSignalMapperparse(BufferedReader reader) static ExtendedSignalMapperstatic ExtendedSignalMapperparseSignalMapperImpl(String line, ExtendedSignalMapperVisitor<Function<ExtendedIOSignalPiece<List<Double>>, List<Double>>> visitor) intsize()
-
Field Details
-
sigMap
-
-
Constructor Details
-
ExtendedSignalMapper
public ExtendedSignalMapper()
-
-
Method Details
-
apply
- Specified by:
applyin interfaceSignalMapper- Throws:
IllegalArgumentException- if the given signal is not an instance of ExtendedIOSignalPiece
-
size
public int size()- Specified by:
sizein interfaceSignalMapper
-
parse
- Throws:
IOException
-
parse
-
parse
-
lineParse
-
parseSignalMapperImpl
private static Function<ExtendedIOSignalPiece<List<Double>>,List<Double>> parseSignalMapperImpl(String line, ExtendedSignalMapperVisitor<Function<ExtendedIOSignalPiece<List<Double>>, List<Double>>> visitor)
-