|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringSimilarity
StringSimilarity
is an interface for comparing Strings.
Method Summary | |
---|---|
double |
getSimilarity(String str1,
String str2)
Returns the similarity of the passed Strings, where 0.0 means that Strings are completely different, and 1.0
indicates that the passed Strings are the same. |
Method Detail |
---|
double getSimilarity(String str1, String str2)
0.0
means that Strings are completely different, and 1.0
indicates that the passed Strings are the same.
str1
- The first String.str2
- The second String.
null
was passed for at least one String.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |