Package java.util
Class StringTokenizer
Object nextElement()
_INSERT_METHOD_SIGNATURE_HERE_
Description:
Returns the same value as the nextToken method, except that it's declared return value is Object rather than String. It exists so that this class can implement the Enumeration interface.
Example
StringTokenizer strTok = new StringTokenizer("Hello World\rThis is a\t\ttest string!\n");
while (strTok.hasMoreTokens())
Logger.log(strTok.nextElement());
The different elements are written to the logger as long as further tokens are available.