public final class StringCharacterIterator extends Object implements CharacterIterator
Constructor and Description |
---|
StringCharacterIterator(String src) |
Modifier and Type | Method and Description |
---|---|
char |
charAt(int pos) |
boolean |
isEnd(int pos) |
String |
substring(int beginIndex) |
String |
substring(int beginIndex,
int endIndex) |
public StringCharacterIterator(String src)
src
- - encapsulated Stringpublic String substring(int beginIndex, int endIndex)
substring
in interface CharacterIterator
public String substring(int beginIndex)
substring
in interface CharacterIterator
public char charAt(int pos)
charAt
in interface CharacterIterator
public boolean isEnd(int pos)
isEnd
in interface CharacterIterator