Interface MatchOffset.Builder

  • Method Details

    • endOffset

      MatchOffset.Builder endOffset(Integer endOffset)

      The 0-indexed number indicating the end position (exclusive) of a matched term.

      Parameters:
      endOffset - The 0-indexed number indicating the end position (exclusive) of a matched term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startOffset

      MatchOffset.Builder startOffset(Integer startOffset)

      The 0-indexed number indicating the start position (inclusive) of a matched term.

      Parameters:
      startOffset - The 0-indexed number indicating the start position (inclusive) of a matched term.
      Returns:
      Returns a reference to this object so that method calls can be chained together.