public class GroupInfo extends Object implements Serializable
Constructor and Description |
---|
GroupInfo(int groupIndex,
int pos)
Constructs a
GroupInfo with a group index and string
position |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
groupIndex()
Gets the group index of the named capture group
|
int |
hashCode() |
int |
pos()
Gets the string position of the group within a named pattern
|
public GroupInfo(int groupIndex, int pos)
GroupInfo
with a group index and string
positiongroupIndex
- the group indexpos
- the positionCopyright © 2017. All rights reserved.