@ SuppressWarnings ( "unchecked" ) public static < T extends Levenshtein > T of ( String baseTarget , String compareTarget ) { return ( T ) new LevenshteinEditDistance ( baseTarget ) . update ( compareTarget ) ; }
Returns a new Levenshtein edit distance instance with compare target string