Interface ISearchResultCollector

    • Method Detail

      • addMatch

        void addMatch​(Match match)
        Adds a Match to this search result. This method does nothing if the match is already present.
        Parameters:
        match - the match to add, cannot be null
      • addMatches

        void addMatches​(Collection<Match> matches)
        Adds a number of Matches to this search result. This method does nothing for matches that are already present.
        Parameters:
        matches - the matches to add, cannot be null