Package com._1c.g5.v8.dt.search.core
Interface ISearchResultCollector
- All Known Implementing Classes:
SearchResult,SimpleSearchResultCollector,TextSearchRefactoringResultCollector
public interface ISearchResultCollector
Collector interface for search result of search
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds aMatchto this search result.voidaddMatches(Collection<Match> matches) Adds a number ofMatches to this search result.
-
Method Details
-
addMatch
Adds aMatchto this search result. This method does nothing if the match is already present.- Parameters:
match- the match to add, cannot benull
-
addMatches
Adds a number ofMatches to this search result. This method does nothing for matches that are already present.- Parameters:
matches- the matches to add, cannot benull
-