Package com._1c.g5.v8.dt.search.core
Interface ISearchResultCollector
-
- All Known Implementing Classes:
SimpleSearchResultCollector
,TextSearchRefactoringResultCollector
public interface ISearchResultCollector
Collector interface for search result of search
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addMatch(Match match)
Adds aMatch
to this search result.void
addMatches(Collection<Match> matches)
Adds a number ofMatch
es to this search result.
-
-
-
Method Detail
-
addMatch
void addMatch(Match match)
Adds aMatch
to this search result. This method does nothing if the match is already present.- Parameters:
match
- the match to add, cannot benull
-
addMatches
void addMatches(Collection<Match> matches)
Adds a number ofMatch
es to this search result. This method does nothing for matches that are already present.- Parameters:
matches
- the matches to add, cannot benull
-
-