2.17.2: 2011-06-17

net.sf.basedb.util.fuzzy
Class StringMatcher.FuzzyMatch

java.lang.Object
  extended by net.sf.basedb.util.fuzzy.StringMatcher.FuzzyMatch
Enclosing class:
StringMatcher

public static class StringMatcher.FuzzyMatch
extends Object

Wrapper that holds information about a fuzzy match.


Field Summary
private  String key
           
private  double score
           
private  String value
           
 
Constructor Summary
StringMatcher.FuzzyMatch(String key, String value, double score)
           
 
Method Summary
 String getKey()
          Get the key string.
 double getScore()
          Get the similarity score of the key/value strings.
 String getValue()
          Get the value string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

key

private final String key

value

private final String value

score

private final double score
Constructor Detail

StringMatcher.FuzzyMatch

StringMatcher.FuzzyMatch(String key,
                         String value,
                         double score)
Method Detail

getKey

public String getKey()
Get the key string.


getValue

public String getValue()
Get the value string.


getScore

public double getScore()
Get the similarity score of the key/value strings.

See Also:
StringMatcher.getScore(String, String)

2.17.2: 2011-06-17