code: public String remainder() {
          final String remainder = queue.substring(pos, queue.length());
          pos = queue.length();
          return remainder;
      }
docs: Consume and return whatever is left on the queue.
  @return remained of queue.