Enumeration e = tokens.elements(); while (e.hasMoreElements()) { output.append(e.nextElement().toString());
Iterator i = tokens.iterator(); while (i.hasNext()) { output.append(i.next().toString());
  public String toString()   {    StringBuffer output = new StringBuffer();    Enumeration e = tokens.elements();    while (e.hasMoreElements()) {      output.append(e.nextElement().toString());    }    return output.toString();  }