104105106107108109110111112113114
nextEvent = null; } private void scheduleNewInternalEvent(double nextEventTime) { if (nextEventTime > 0) { nextEvent = new DiskSimInternalEvent(sim, nextEventTime); sim.simDriver.schedule(nextEvent); } else { nextEvent = null; } }