StringCharacterIterator.next

StringCharacterIterator.next

Class Overview | Class Members | This Package | All Packages

Syntax
public char next()
Returns
the character at the new position or DONE if the current position is off the end of the text.
Description
Increment the iterator's index by one and return the character at the new index. If the resulting index is greater or equal to getEndIndex(), the current index is reset to getEndIndex() and a value of DONE is returned.