apply abstract method

Iterable<Element> apply(
  1. Iterable<Element> candidates

Returns all the elements in the given list that match this finder's pattern.

When implementing your own Finders that inherit directly from Finder, this is the main method to override. If your finder can efficiently be described just in terms of a predicate function, consider extending MatchFinder instead.


Iterable<Element> apply(Iterable<Element> candidates);