public class SoundexComparator extends java.lang.Object implements StringComparator
Constructor and Description |
---|
SoundexComparator() |
Modifier and Type | Method and Description |
---|---|
double |
compare(java.lang.String s1,
java.lang.String s2) |
boolean |
isTokenized() |
static java.lang.String |
soundex(java.lang.String str)
Produces the Soundex key for the given string.
|
public double compare(java.lang.String s1, java.lang.String s2)
compare
in interface StringComparator
public boolean isTokenized()
isTokenized
in interface StringComparator
public static java.lang.String soundex(java.lang.String str)