public abstract char next ()

Increments the iterator's index by one and returns 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.

Returns:  the character at the new position or DONE if the new position is off the end of the text range.