Package net.maswag.falcaun
Class InputMapperReader
java.lang.Object
net.maswag.falcaun.AbstractMapperReader
net.maswag.falcaun.InputMapperReader
Deprecated.
A class for reading and parsing input mapper data from files.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.maswag.falcaun.AbstractMapperReader
assignCharacters, rawParse
-
Constructor Details
-
InputMapperReader
public InputMapperReader()Deprecated.
-
-
Method Details
-
parse
Deprecated.UseInputMapper.make(List)withAbstractMapperReader.rawParse(String)instead.Parses the input mapping from a file and returns a list of mappings. EachMapcontains characters as keys and their corresponding concrete values as values. They are constructed bymake(List).- Parameters:
filename- The name of the file to read.- Returns:
- A list of maps from characters to double values.
- Throws:
IOException- if an error occurs while reading the file.
-
make
Deprecated.UseInputMapper.make(List)instead.Creates a list of maps from characters to double values from a list of ascending lists of double values.- Parameters:
data- The list of ascending lists of double values to convert.- Returns:
- A list of maps from characters to double values.
-
InputMapperinstead. This class will be removed in a future release. It now uses InputMapper internally for backward compatibility.