findInCandidates abstract method

  1. @protected
Iterable<CandidateType> findInCandidates(
  1. Iterable<CandidateType> candidates
)

Returns all the items in the given list that match this finder's requirements.

This is overridden to define the requirements of the finder when implementing finders that directly extend FinderBase. If a finder can be efficiently described just in terms of a predicate function, consider mixing in MatchFinderMixin and implementing MatchFinderMixin.matches instead.

Implementation

@protected
Iterable<CandidateType> findInCandidates(Iterable<CandidateType> candidates);