Interface MatchValidator<E>

Type Parameters:
E - the validated element's type
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface
public interface MatchValidator<E>
Since matching on similarity is a heuristical method, it can be necessary to have a validation callback logic that can ultimately decide on potential matches.
  • Method Summary

    Modifier and Type Method Description
    boolean isValidMatch​(E source, E target, double similarity, int sourceCandidateCount, int targetCandidateCount)  
  • Method Details

    • isValidMatch

      boolean isValidMatch​(E source, E target, double similarity, int sourceCandidateCount, int targetCandidateCount)