public class CharacterArrayIterator extends Object implements CharacterIterator
DONE
Constructor and Description |
---|
CharacterArrayIterator(char[] chars,
int beginIndex,
int endIndex) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
char |
current() |
char |
first() |
int |
getBeginIndex() |
int |
getEndIndex() |
int |
getIndex() |
char |
last() |
char |
next() |
char |
previous() |
char |
setIndex(int position) |
public CharacterArrayIterator(char[] chars, int beginIndex, int endIndex)
public char first()
first
in interface CharacterIterator
public char last()
last
in interface CharacterIterator
public char current()
current
in interface CharacterIterator
public char next()
next
in interface CharacterIterator
public char previous()
previous
in interface CharacterIterator
public char setIndex(int position)
setIndex
in interface CharacterIterator
public int getBeginIndex()
getBeginIndex
in interface CharacterIterator
public int getEndIndex()
getEndIndex
in interface CharacterIterator
public int getIndex()
getIndex
in interface CharacterIterator
public Object clone()
clone
in interface CharacterIterator
clone
in class Object