示例#1
0
 public void update(Process process, Instruction instruction)
 {
     this.process = process;
     this.instruction = instruction;
 }
示例#2
0
 void initiateInstructions(int numberOfInstructions)
 {
     instructions = new Instruction[numberOfInstructions];
     for (int index = 0; index < numberOfInstructions; index++)
         instructions[index] = new Instruction(index);
 }