public void addEventFirst(SimEvent newEvent){
  newEvent.setSerial(0);
  sortedSet.add(newEvent);
}

public void addEventFirst ( SimEvent newEvent ) { newEvent . setSerial ( 0 ) ; sortedSet . add ( newEvent ) ; }
adds a new event to the head of the queue .
