public class CharArrayIterator
extends java.lang.Object
implements java.text.CharacterIterator
CharacterIterator
implementation for a given fragment of a char
array.Constructor and Description |
---|
CharArrayIterator(char [] text,
int start,
int end) |
Modifier and Type | Method and Description |
---|---|
CharArrayIterator |
clone() |
char |
current() |
char |
first() |
int |
getBeginIndex() |
int |
getEndIndex() |
int |
getIndex() |
char |
last() |
char |
next() |
char |
previous() |
char |
setIndex(int position) |
public char first()
first
in interface java.text.CharacterIterator
public char last()
last
in interface java.text.CharacterIterator
public char current()
current
in interface java.text.CharacterIterator
public char next()
next
in interface java.text.CharacterIterator
public char previous()
previous
in interface java.text.CharacterIterator
public char setIndex(int position)
setIndex
in interface java.text.CharacterIterator
public int getBeginIndex()
getBeginIndex
in interface java.text.CharacterIterator
public int getEndIndex()
getEndIndex
in interface java.text.CharacterIterator
public int getIndex()
getIndex
in interface java.text.CharacterIterator
public CharArrayIterator clone()
clone
in interface java.text.CharacterIterator
clone
in class java.lang.Object