public final class CharacterArrayCharacterIterator extends Object implements CharacterIterator
Constructor and Description |
---|
CharacterArrayCharacterIterator(char[] src,
int off,
int len) |
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 CharacterArrayCharacterIterator(char[] src, int off, int len)
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