public static class StringMatcher.FuzzyMatch
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
key |
private double |
score |
private java.lang.String |
value |
Constructor and Description |
---|
FuzzyMatch(java.lang.String key,
java.lang.String value,
double score) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getKey()
Get the key string.
|
double |
getScore()
Get the similarity score of the key/value strings.
|
java.lang.String |
getValue()
Get the value string.
|
private final java.lang.String key
private final java.lang.String value
private final double score
FuzzyMatch(java.lang.String key, java.lang.String value, double score)
public java.lang.String getKey()
public java.lang.String getValue()
public double getScore()
StringMatcher.getScore(String, String)