Class GeometryTreeModel.LengthComparator

java.lang.Object
org.locationtech.jtstest.testbuilder.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 Details

    • LengthComparator

      public LengthComparator(boolean direction)
  • Method Details

    • 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>