|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CharacterIterator
CharacterIterator is used to sequence over a group of characters. The iteration starts at the begin index in the group of character and continues to one index before the end index.
| Field Summary | |
|---|---|
static char |
DONE
A constant which indicates there is no character. |
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Answers a new CharacterIterator with the same properties. |
char |
current()
Answers the character at the current index. |
char |
first()
Sets the current position to the begin index and answers the character at the begin index. |
int |
getBeginIndex()
Answers the begin index. |
int |
getEndIndex()
Answers the end index. |
int |
getIndex()
Answers the current index. |
char |
last()
Sets the current position to the end index - 1 and answers the character at the current position. |
char |
next()
Increments the current index and returns the character at the new index. |
char |
previous()
Decrements the current index and returns the character at the new index. |
char |
setIndex(int location)
Sets the current index. |
| Field Detail |
|---|
static final char DONE
| Method Detail |
|---|
java.lang.Object clone()
Cloneablechar current()
char first()
int getBeginIndex()
int getEndIndex()
int getIndex()
char last()
char next()
char previous()
char setIndex(int location)
java.lang.IllegalArgumentException - when the new index is less than the begin index or greater than the end index
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||