Class SimpleSearchResultCollector

    • Constructor Detail

      • SimpleSearchResultCollector

        public SimpleSearchResultCollector()
    • Method Detail

      • addMatch

        public void addMatch​(Match match)
        Description copied from interface: ISearchResultCollector
        Adds a Match to this search result. This method does nothing if the match is already present.
        Specified by:
        addMatch in interface ISearchResultCollector
        Parameters:
        match - the match to add, cannot be null
      • getMatches

        public Collection<Match> getMatches()
        Gets collecting matches
        Returns:
        set of matches, never null