Returns the next token in the string as an Object. This method is implemented in order to satisfy the Enumeration interface. @return next token in the string as an Object @throws NoSuchElementException if no tokens remain.
()
| 232 | * if no tokens remain. |
| 233 | */ |
| 234 | public Object nextElement() { |
| 235 | return nextToken(); |
| 236 | } |
| 237 | |
| 238 | /** |
| 239 | * Returns the next token in the string as a {@code String}. |