code: public synchronized String findNextValue(String k, String v) {
          boolean foundV = false;
          if (k == null) {
              for (int i = nkeys; --i >= 0;)
                  if (keys[i] == null)
                      if (foundV)
                          return values[i];
                      else if (values[i] == v)
                          foundV = true;
          } else
              for (int i = nkeys; --i >= 0;)
                  if (k.equalsIgnoreCase(keys[i]))
                      if (foundV)
                          return values[i];
                      else if (values[i] == v)
                          foundV = true;
          return null;
      }
docs: Deprecated: Use multiValueIterator() instead.
  
  Find the next value that corresponds to this key.
  It finds the first value that follows v. To iterate
  over all the values of a key use:
  <pre>
  for(String v=h.findValue(k); v!=null; v=h.findNextValue(k, v)) {
  ...
  }
  </pre>