Interface FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory
- Enclosing class:
- FactorySingleIntegerParameterInstructionParser
public static interface FactorySingleIntegerParameterInstructionParser.IIntegerInstructionFactory
Produces
instructions from a single integer parameter.- Author:
- Erik Zemčík
-
Method Summary
Modifier and TypeMethodDescriptioncreateInstruction(int parameter) Creates aninstructionready for use.
-
Method Details
-
createInstruction
Creates aninstructionready for use.- Parameters:
parameter- rawintegerparameter representing the requestedinstructionstate- Returns:
instructionassociated with theparameter- Throws:
InstructionParseException- if the factory is unable to parse theinstruction
-