java.lang.Object
org.bzdev.util.ACMatcher.MatchResult
- Enclosing class:
- ACMatcher
Match result holder.
-
Method Summary
Modifier and TypeMethodDescriptionintgetEnd()Get the index into the text being matched for the end of a match.intgetIndex()Get the index into the array of strings passed to the constructor ofACMatcherfor this match.intgetStart()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 ofACMatcherfor 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
-