Package events

Examples of events.SimEvent


    eventQueue = new TreeSet<SimEvent>(new CmpEvent());
  }
 
  public void run() {
    while (!eventQueue.isEmpty()) {
      SimEvent e = eventQueue.pollFirst();
      assert e.getTime() >= currentTime;
      currentTime = e.getTime();
      e.run();
    }
  }
View Full Code Here

TOP

Related Classes of events.SimEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.