Interface ISearchResultCollector

All Known Implementing Classes:
SearchResult, SimpleSearchResultCollector, TextSearchRefactoringResultCollector

public interface ISearchResultCollector
Collector interface for search result of search
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMatch(Match match)
    Adds a Match to this search result.
    void
    Adds a number of Matches to this search result.
  • Method Details

    • 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