code: public boolean next() {
          int len = queryString.length();
          while (true) {
              if (paramEnd == len) {
                  return false;
              }
              paramBegin = paramEnd == -1 ? 0 : paramEnd + 1;
              int idx = queryString.indexOf('&', paramBegin);
              paramEnd = idx == -1 ? len : idx;
              if (paramEnd > paramBegin) {
                  idx = queryString.indexOf('=', paramBegin);
                  paramNameEnd = idx == -1 || idx > paramEnd ? paramEnd : idx;
                  paramName = null;
                  paramValue = null;
                  return true;
              }
          }
      }
docs: Move to the next parameter in the query string.
  
  @return <code>true</code> if a parameter has been found; <code>false</code> if there are no more parameters