Package org.locationtech.jts.geom
Class CoordinateArrays.ForwardComparator
java.lang.Object
org.locationtech.jts.geom.CoordinateArrays.ForwardComparator
- All Implemented Interfaces:
Comparator
- Enclosing class:
CoordinateArrays
A
Comparator
for Coordinate
arrays
in the forward direction of their coordinates,
using lexicographic ordering.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, 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
-
ForwardComparator
public ForwardComparator()
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator
-