|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgnu.regexp.CharIndexedString
class CharIndexedString
| Field Summary |
|---|
| Fields inherited from interface gnu.regexp.CharIndexed |
|---|
OUT_OF_BOUNDS |
| Constructor Summary | |
|---|---|
CharIndexedString(java.lang.String 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 |
|---|
CharIndexedString(java.lang.String str,
int index)
| Method Detail |
|---|
public char charAt(int index)
CharIndexed
charAt in interface CharIndexedindex - the offset position in the character field to examine
public boolean isValid()
CharIndexed
isValid in interface CharIndexedpublic 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 | ||||||||