apply method

  1. @override
int apply(
  1. String s1,
  2. String s2
)
override

Returns the score of similarity computed from s1 and s2

Implementation

@override
int apply(String s1, String s2) {
  return (100 * DiffUtils.getRatio(s1, s2)).round();
}