Sorry for the confusion. That is a good suspicion. I had it too. I really did not check compareTo(). I tested compareToXY() .
In the code
public static Comparator<Point> xyPointComparator =...
Type: Posts; User: Keith Willenson
Sorry for the confusion. That is a good suspicion. I had it too. I really did not check compareTo(). I tested compareToXY() .
In the code
public static Comparator<Point> xyPointComparator =...
In the attached file, I have a dataset and Java code. When I use the code marked as "Not working" it fails. I have been using this code for quite a while with no problem. It is only on this...