Class MatchesTestBase.TermMatch

  • Enclosing class:
    MatchesTestBase

    protected static class MatchesTestBase.TermMatch
    extends Object
    Encapsulates a term position, start and end offset
    • Field Detail

      • position

        public final int position
        The position
      • startOffset

        public final int startOffset
        The start offset
      • endOffset

        public final int endOffset
        The end offset
    • Constructor Detail

      • TermMatch

        public TermMatch​(int position,
                         int startOffset,
                         int endOffset)
        Create a new TermMatch