java.lang.Object
org.bzdev.util.ACMatcher.MatchResult
- Enclosing class:
- ACMatcher
Match result holder.
-
Method Summary
Modifier and TypeMethodDescriptionint
getEnd()
Get the index into the text being matched for the end of a match.int
getIndex()
Get the index into the array of strings passed to the constructor ofACMatcher
for this match.int
getStart()
Get the index into the text being matched for the start of a match
-
Method Details
-
getIndex
public int getIndex()Get the index into the array of strings passed to the constructor ofACMatcher
for this match.- Returns:
- the index
-
getStart
public int getStart()Get the index into the text being matched for the start of a match- Returns:
- the index
-
getEnd
public int getEnd()Get the index into the text being matched for the end of a match. This index is one higher than the last character in the matched text.- Returns:
- the index
-