|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.code.regexp.GroupInfo
public class GroupInfo
Contains the position and group index of capture groups from a named pattern
Constructor Summary | |
---|---|
GroupInfo(int groupIndex,
int pos)
Constructs a GroupInfo with a group index and string
position |
Method Summary | |
---|---|
int |
groupIndex()
Gets the group index of the named capture group |
int |
pos()
Gets the string position of the group within a named pattern |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupInfo(int groupIndex, int pos)
GroupInfo
with a group index and string
position
groupIndex
- the group indexpos
- the positionMethod Detail |
---|
public int pos()
public int groupIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |