code: public void advance() {
          String s = null;
          if (baseIterator.hasNext())
              next = baseIterator.next();
          else
              next = null;
      }
docs: Advances to the next word in the token stream.