StringCharacterIterator.StringCharacterIterator
Class Overview | Class Members |
This Package |
All Packages
public StringCharacterIterator( String text )
Description
Construct an iterator with an initial index of 0.
public StringCharacterIterator( String text,
int pos )
Parameters
- text
- The String to be iterated over
- pos
- Initial iterator position
Description
Construct an iterator with the specified initial index.
public StringCharacterIterator( String text,
int begin,
int end,
int pos )
Parameters
- text
- The String to be iterated over
- begin
- Index of the first character
- end
- Index of the character following the last character
- pos
- Initial iterator position
Description
Construct an iterator over the given range of the given string, with the
index set at the specified position.