Class 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 Detail

      • NumPointsComparator

        public NumPointsComparator​(boolean direction)
    • Method Detail

      • compare

        public int compare​(org.locationtech.jtstest.testbuilder.GeometricObjectNode o1,
                           org.locationtech.jtstest.testbuilder.GeometricObjectNode o2)
        Specified by:
        compare in interface Comparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>