Package com.sun.enterprise.admin.cli
Class StringEditDistance
- java.lang.Object
-
- com.sun.enterprise.admin.cli.StringEditDistance
-
public class StringEditDistance extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
editDistance(String a, String b)
Computes the edit distance between two strings.static String
findNearest(String key, String[] group)
Finds the string in thegroup
closest tokey
and returns it.
-