matches abstract method

bool matches(
  1. CandidateType candidate
)

Returns true if the given element matches the pattern.

When implementing a MatchFinder, this is the main method to override.

Implementation

bool matches(CandidateType candidate);