| Modifier and Type | Method and Description |
|---|---|
void |
addInstruction(Instruction instruction)
Adds an instruction to the instructionList.
|
List<Instruction> |
getInstructionList()
Returns the list of instructions contained in a instructionList.
|
void |
removeInstruction(Instruction instruction)
Removes san instruction from a instructionList.
|
void |
removeInstruction(int index)
Removes the i-th instruction from the instructionList.
|
void addInstruction(Instruction instruction)
instruction - The Instruction to addvoid removeInstruction(int index)
index - Index of instruction to removevoid removeInstruction(Instruction instruction)
instruction - Instruction to removeList<Instruction> getInstructionList()
Copyright © 2020. All rights reserved.