public class StringToIntegerOutcomeEncoder extends Object implements OutcomeEncoder<String,Integer>
| Modifier and Type | Field and Description |
|---|---|
static String |
LOOKUP_FILE_NAME |
| Constructor and Description |
|---|
StringToIntegerOutcomeEncoder() |
StringToIntegerOutcomeEncoder(int firstIndex) |
public static final String LOOKUP_FILE_NAME
public StringToIntegerOutcomeEncoder()
public StringToIntegerOutcomeEncoder(int firstIndex)
public String decode(Integer outcome)
decode in interface OutcomeEncoder<String,Integer>public Integer encode(String input)
encode in interface OutcomeEncoder<String,Integer>public void finalizeOutcomeSet(File outputDirectory) throws IOException
finalizeOutcomeSet in interface OutcomeEncoder<String,Integer>IOExceptionCopyright © 2014. All rights reserved.