|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the sequence of Instructions in a Darwin program. Instruction step numbers begin at 1.
Method Summary | |
void |
add(Instruction aInstruction)
Add an Instruction to this Program. |
Instruction |
getInstruction(int aStep)
Determine an Instruction from this Program. |
int |
getSize()
Determine the number of Instructions in this Program. |
Method Detail |
public void add(Instruction aInstruction)
aInstruction
- the Instruction to add. aIntruction becomes the last Instruction
of this Program.public Instruction getInstruction(int aStep)
aStep
- the step number of the Instruction. 1 <= aStep <= getSize().
public int getSize()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |