Class GeometryTreeModel.LengthComparator

  • All Implemented Interfaces:
    Comparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
    Enclosing class:
    GeometryTreeModel

    public static class GeometryTreeModel.LengthComparator
    extends Object
    implements Comparator<org.locationtech.jtstest.testbuilder.GeometricObjectNode>
    • Constructor Detail

      • LengthComparator

        public LengthComparator​(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>