StringTokenizer.nextElement

StringTokenizer.nextElement

Class Overview | Class Members | This Package | All Packages

Syntax
public Object nextElement()
Returns
the next token in the string.
Description
Returns the same value as the nextToken method, except that its declared return value is Object rather than String. It exists so that this class can implement the Enumeration interface.

Exceptions
NoSuchElementException if there are no more tokens in this tokenizer's string.
See Also
Enumeration, nextToken