question: public void addEvent ( SimEvent newEvent ) { newEvent . setSerial ( serial ++ ) ; sortedSet . add ( newEvent ) ; }
target:  Adds a new event to the queue. Adding a new event to the queue preserves the temporal order of the events in the queue.