Class Vertices.DataTreeLevelComparator

  • All Implemented Interfaces:
    java.util.Comparator<DFDataTree.Vertex>
    Enclosing class:
    Vertices

    public static final class Vertices.DataTreeLevelComparator
    extends java.lang.Object
    implements java.util.Comparator<DFDataTree.Vertex>
    Compares two vertices according to their level in a data tree to which they belong.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(DFDataTree.Vertex o1, DFDataTree.Vertex 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