code: public void transferStart(QueueListener eventsToTransfer)
      {
          while (!eventsToTransfer.isEmpty()) {
              Event event = eventsToTransfer.removeLast();
              this.previousEvents.offerFirst(event);
          }
      }
docs: Transfer all passed events by removing the from the passed parameter and moving them to the beginning of the
  event stack.
  
  @param eventsToTransfer the collection of events to move
  @since 10.5RC1