code: @Override
      public int drainTo(Collection<E> collection) {
          int size = queue.drainTo(collection);
          addCapacity(-size);
          return size;
      }
docs: Removes all elements from this queue and adds them
  to the given collection.
  
  @return number of removed items from this queue.