Class ACMatcher.MatchResult

java.lang.Object
org.bzdev.util.ACMatcher.MatchResult
Enclosing class:
ACMatcher

public static class ACMatcher.MatchResult extends Object
Match result holder.
  • Method Details

    • getIndex

      public int getIndex()
      Get the index into the array of strings passed to the constructor of ACMatcher 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