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