V - the value typepublic interface ValueSimilarity<V>
| Modifier and Type | Field and Description |
|---|---|
static double |
NO_MATCH
Constant used to indicate that two values do not match.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getDistance(V value1,
V value2)
Returns the distance between the first and the second value or
NO_MATCH. |
boolean |
isApplicable(Class<?> valueType) |
static final double NO_MATCH
double getDistance(V value1, V value2)
NO_MATCH.value1 - the first valuevalue2 - the second valueNO_MATCHboolean isApplicable(Class<?> valueType)
Copyright © 2014. All rights reserved.