public static class PenetratingPoint.DistanceComparator extends java.lang.Object implements java.util.Comparator<PenetratingPoint>
Constructor and Description |
---|
DistanceComparator() |
DistanceComparator(boolean reverse) |
Modifier and Type | Method and Description |
---|---|
int |
compare(PenetratingPoint o1,
PenetratingPoint o2) |
void |
setReverse(boolean set) |
public DistanceComparator()
public DistanceComparator(boolean reverse)
public void setReverse(boolean set)
public int compare(PenetratingPoint o1, PenetratingPoint o2)
compare
in interface java.util.Comparator<PenetratingPoint>