|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgnu.regexp.CharIndexedCharArray
Field Summary |
Fields inherited from interface gnu.regexp.CharIndexed |
OUT_OF_BOUNDS |
Constructor Summary | |
(package private) |
CharIndexedCharArray(char[] str,
int index)
|
Method Summary | |
char |
charAt(int index)
Returns the character at the given offset past the current cursor position in the input. |
boolean |
isValid()
Returns true if the most recent move() operation placed the cursor position at a valid position in the input. |
boolean |
move(int index)
Shifts the input buffer by a given number of positions. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
CharIndexedCharArray(char[] str, int index)
Method Detail |
public char charAt(int index)
CharIndexed
charAt
in interface CharIndexed
index
- the offset position in the character field to examine
public boolean isValid()
CharIndexed
isValid
in interface CharIndexed
public boolean move(int index)
CharIndexed
move
in interface CharIndexed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |