Methods Summary |
---|
public java.lang.Object | clone()Returns a new {@code CharacterIterator} with the same properties.
|
public char | current()Returns the character at the current index.
|
public char | first()Sets the current position to the begin index and returns the character at
the new position.
|
public int | getBeginIndex()Returns the begin index.
|
public int | getEndIndex()Returns the end index.
|
public int | getIndex()Returns the current index.
|
public char | last()Sets the current position to the end index - 1 and returns the character
at the new position.
|
public char | next()Increments the current index and returns the character at the new index.
|
public char | previous()Decrements the current index and returns the character at the new index.
|
public char | setIndex(int location)Sets the current index to a new position and returns the character at the
new index.
|