The Class BoundablePairDistanceComparator. It implements Java comparator and is used as a parameter to sort the BoundablePair list.
public BoundablePairDistanceComparator(boolean normalOrder)
Instantiates a new boundable pair distance comparator.
Parameters:
normalOrder - normalOrder true puts the lowest record at the head of this queue. This is the natural order. PriorityQueue peek() will get the least element.