public interface TokenIterator extends Iterator<String>, Enumeration<String>
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasMoreTokens() |
String |
nextToken()
Returns the next element in the iteration as a
String. |
void |
reset()
Resets this iterator.
|
forEachRemaining, hasNext, next, removehasMoreElements, nextElementboolean hasMoreTokens()
String nextToken()
String.NoSuchElementException - iteration has no more elements.void reset()
Copyright © 2022. All rights reserved.