Package algs12
Class Point2D.DistanceToOrder
java.lang.Object
algs12.Point2D.DistanceToOrder
- All Implemented Interfaces:
Comparator<Point2D>
- Enclosing class:
Point2D
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
DistanceToOrder
private DistanceToOrder()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<Point2D>
-