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 TypeMethodDescriptionintcompare(org.locationtech.jtstest.testbuilder.GeometricObjectNode o1, org.locationtech.jtstest.testbuilder.GeometricObjectNode o2) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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:
comparein interfaceComparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
-