Class BoundablePairDistanceComparator

Hierarchy: Object , BoundablePairDistanceComparator
All Implemented Interfaces: Serializable , Comparator
public class BoundablePairDistanceComparator
implements Comparator , Serializable
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.
public int compare(BoundablePair p1, BoundablePair p2)