Interface CharacterIterator
- All Known Implementing Classes:
CharacterArrayCharacterIterator, ReaderCharacterIterator, StreamCharacterIterator, StringCharacterIterator
public interface CharacterIterator
Encapsulates different types of character sources - String, InputStream, ...
Defines a set of common methods
-
Method Summary
-
Method Details
-
substring
Returns
a substring
-
substring
Returns
a substring
-
charAt
char charAt(int pos) Returns
a character at the specified position.
-
isEnd
boolean isEnd(int pos) Returns
true iff if the specified index is after the end of the character stream
-