StringCharacterIterator.StringCharacterIterator

StringCharacterIterator.StringCharacterIterator

Class Overview | Class Members | This Package | All Packages

Syntax 1
public StringCharacterIterator( String text )
Description
Construct an iterator with an initial index of 0.



Syntax 2
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.



Syntax 3
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.