com.vividsolutions.jts.geom
public static class CoordinateArrays.BidirectionalComparator extends java.lang.Object implements java.util.Comparator
Comparator
for Coordinate
arrays
modulo their directionality.
E.g. if two coordinate arrays are identical but reversed
they will compare as equal under this ordering.
If the arrays are not equal, the ordering returned
is the ordering in the forward direction.Constructor and Description |
---|
CoordinateArrays.BidirectionalComparator() |
Modifier and Type | Method and Description |
---|---|
int |
compare(java.lang.Object o1,
java.lang.Object o2) |
int |
OLDcompare(java.lang.Object o1,
java.lang.Object o2) |