code: private void advance() {
          if (current == null || !current.hasNext()) {
              do {
                  current = iters.poll();
              } while (current != null && !current.hasNext());
          }
      }
docs: Moves to the next iterator in the queue if the current iterator is out of
  elements.