-
public interface InstructionFactoryInterface for instruction creation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstructiongetDefaultInstruction()Creates a default Instruction instance for handling opcodes not assigned to any specific Instruction instance.InstructionloadInstruction(java.io.DataInput in)Loads and setups an Instruction instance from a data stream previously written via Instruction.save(java.io.DataOutput).
-
-
-
Method Detail
-
loadInstruction
Instruction loadInstruction(java.io.DataInput in) throws java.io.IOException
Loads and setups an Instruction instance from a data stream previously written via Instruction.save(java.io.DataOutput).- Parameters:
in- the DataInputStream to load from.- Returns:
- the loaded Instruction instance.
- Throws:
java.io.IOException- if an I/O error occurs.
-
getDefaultInstruction
Instruction getDefaultInstruction()
Creates a default Instruction instance for handling opcodes not assigned to any specific Instruction instance.- Returns:
- the created default Instruction instance.
-
-