public class CustomFactory extends InterpreterFactory
Modifier and Type | Field and Description |
---|---|
protected InterpreterOracleInterface |
interpreterOracle
the interpreterOracle to use
|
BREAKPOINT, IMPDEP1, IMPDEP2
Constructor and Description |
---|
CustomFactory(InterpreterOracleInterface interpreterOracle)
constructs a new InterpreterFactory
|
Modifier and Type | Method and Description |
---|---|
Operation |
readOperation(int operand,
DataInput dataInput,
int startBytePostion)
resolves an operation for an operandCode
|
readOperation
protected InterpreterOracleInterface interpreterOracle
public CustomFactory(InterpreterOracleInterface interpreterOracle)
interpreterOracle
- the oracle to usepublic Operation readOperation(int operand, DataInput dataInput, int startBytePostion) throws IOException
FactoryInterface
readOperation
in interface FactoryInterface
readOperation
in class InterpreterFactory
operand
- the operanddataInput
- the dataInputstartBytePostion
- the position in the byteStreamIOException
- on IOException#readOperation(int, java.io.DataInput, int)
Copyright © 2002-2012 Delft University of Technology, the Netherlands. All Rights Reserved.