public class DocumentCharacterIterator extends Object implements CharacterIterator
DONE| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
char |
current() |
char |
first() |
int |
getBeginIndex() |
int |
getEndIndex() |
int |
getIndex() |
char |
last() |
char |
next()
Increments the iterator's index by one and returns the character at the
new index.
|
char |
previous() |
char |
setIndex(int position) |
public Object clone()
clone in interface CharacterIteratorclone in class Objectpublic char current()
current in interface CharacterIteratorpublic char first()
first in interface CharacterIteratorpublic int getBeginIndex()
getBeginIndex in interface CharacterIteratorpublic int getEndIndex()
getEndIndex in interface CharacterIteratorpublic int getIndex()
getIndex in interface CharacterIteratorpublic char last()
last in interface CharacterIteratorpublic char next()
next in interface CharacterIteratorpublic char previous()
previous in interface CharacterIteratorpublic char setIndex(int position)
setIndex in interface CharacterIteratorCopyright © 2003–2015. All rights reserved.