|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdarwin.domain.Instruction
This class represents an instruction in a Darwin program. An instruction has an Operation and a next step.
Constructor Summary | |
Instruction(Operation aOperation,
int aNextStep)
Create an Instruction. |
Method Summary | |
int |
getNextStep()
Return the next step for this Instruction. |
Operation |
getOperation()
Return the Operation for this Instruction. |
java.lang.String |
toString()
Return a String representation of this Instruction. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Instruction(Operation aOperation, int aNextStep)
aOperation
- the operation for this Instruction.aNextStep
- the next step for this Instruction.Method Detail |
public int getNextStep()
public Operation getOperation()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |