public static class Blocker.Pair extends Object implements Comparable, Serializable, DistanceInstance
INCREASING_DISTANCE| Constructor and Description |
|---|
Pair(MatchData.Instance a,
MatchData.Instance b,
boolean sameIds) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
StringWrapper |
getA() |
StringWrapper |
getB() |
double |
getDistance() |
boolean |
isCorrect() |
void |
setDistance(double d) |
String |
toString() |
public Pair(MatchData.Instance a, MatchData.Instance b, boolean sameIds)
public StringWrapper getA()
getA in interface DistanceInstancepublic StringWrapper getB()
getB in interface DistanceInstancepublic boolean isCorrect()
isCorrect in interface DistanceInstancepublic double getDistance()
getDistance in interface DistanceInstancepublic void setDistance(double d)
setDistance in interface DistanceInstancepublic int compareTo(Object o)
compareTo in interface ComparableCopyright © 2016. All rights reserved.