public class LexicographicalPointComparator extends Object implements Comparator<Point>
| Constructor and Description |
|---|
LexicographicalPointComparator() |
| Modifier and Type | Method and Description |
|---|---|
int |
compare(Point pointOne,
Point pointTwo)
The compare method compare the objects o1 and o2.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(Point pointOne, Point pointTwo)
compare in interface Comparator<Point>pointOne - An object that reference a double[]pointTwo - An object that reference a double[]Copyright © 2015. All rights reserved.