code: public final int drainTo(int queueIndex, Collection<? super E> drain) {
          return drain(queues[queueIndex], drain, Integer.MAX_VALUE);
      }
docs: Drains a batch of items from the queue at the supplied index into the
  supplied collection.
  
  @return the number of items drained