CharacterIterator.next

CharacterIterator.next

Interface Overview | Interface Members | This Package | All Packages

Syntax
public abstract 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.