com.wcohen.secondstring.expt
Class Blocker.Pair
java.lang.Object
|
+--com.wcohen.secondstring.expt.Blocker.Pair
- All Implemented Interfaces:
- java.lang.Comparable, java.io.Serializable
- Enclosing class:
- Blocker
- public static class Blocker.Pair
- extends java.lang.Object
- implements java.lang.Comparable, java.io.Serializable
Holds a pair of instances, with mutable distance between them.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Blocker.Pair
public Blocker.Pair(MatchData.Instance a,
MatchData.Instance b)
getA
public MatchData.Instance getA()
getB
public MatchData.Instance getB()
isCorrect
public boolean isCorrect()
getDistance
public double getDistance()
setDistance
public void setDistance(double d)
compareTo
public int compareTo(java.lang.Object o)
- Specified by:
compareTo
in interface java.lang.Comparable