|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TokenIterator
An iterator for String
tokens.
This interface is designed as a complement to
HeaderElementIterator
, in cases where the items
are plain strings rather than full header elements.
Method Summary | |
---|---|
boolean |
hasNext()
Indicates whether there is another token in this iteration. |
String |
nextToken()
Obtains the next token from this iteration. |
Methods inherited from interface java.util.Iterator |
---|
next, remove |
Method Detail |
---|
boolean hasNext()
hasNext
in interface Iterator<Object>
true
if there is another token,
false
otherwiseString nextToken()
hasNext
is true.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |