Class GeometryTreeModel.NumPointsComparator
java.lang.Object
org.locationtech.jtstest.testbuilder.GeometryTreeModel.NumPointsComparator
- All Implemented Interfaces:
Comparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
- Enclosing class:
GeometryTreeModel
public static class GeometryTreeModel.NumPointsComparator
extends Object
implements Comparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compare
(org.locationtech.jtstest.testbuilder.GeometricObjectNode o1, org.locationtech.jtstest.testbuilder.GeometricObjectNode o2) 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
-
NumPointsComparator
public NumPointsComparator(boolean direction)
-
-
Method Details
-
compare
public int compare(org.locationtech.jtstest.testbuilder.GeometricObjectNode o1, org.locationtech.jtstest.testbuilder.GeometricObjectNode o2) - Specified by:
compare
in interfaceComparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
-