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 TypeMethodDescriptiondouble
apply
(int index, IOSignalPiece<List<Double>> concreteSignal) static ExtendedSignalMapper
parse
(BufferedReader reader) static ExtendedSignalMapper
static ExtendedSignalMapper
parseSignalMapperImpl
(String line, ExtendedSignalMapperVisitor<Function<ExtendedIOSignalPiece<List<Double>>, List<Double>>> visitor) int
size()
-
Field Details
-
sigMap
-
-
Constructor Details
-
ExtendedSignalMapper
public ExtendedSignalMapper()
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceSignalMapper
- Throws:
IllegalArgumentException
- if the given signal is not an instance of ExtendedIOSignalPiece
-
size
public int size()- Specified by:
size
in 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)
-