public void handlePiInt(Program program, PiInt PiNr) { switch (PiNr) { case PiInt.InvalidCommand: { program.setDone(); break; } } return; }
private void handlePiInt(PiInt intNr) { switch (intNr) { case PiInt.InvalidCommand: process.changeIC(7); break; default: throw new NotImplementedException(); } return; }