CharacterIterator.setIndex
Interface Overview | Interface Members |
This Package |
All Packages
public abstract char setIndex( int position )
Parameters
- position
- the position within the text. Valid values range from
getBeginIndex() to getEndIndex() - 1. An IllegalArgumentException is thrown
if an invalid value is supplied.
Returns
the character at the specified position.
Description
Set the position to the specified position in the text and return that
character.