Class DrillPathsComparator

  • All Implemented Interfaces:
    java.util.Comparator<WebDrillPath>

    public class DrillPathsComparator
    extends java.lang.Object
    implements java.util.Comparator<WebDrillPath>
    Refer to {@link ReportCellDrill.java::DrillPathsComparator}
    • Constructor Summary

      Constructors 
      Constructor Description
      DrillPathsComparator​(boolean groupByType, boolean sortByName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(WebDrillPath drillPath1, WebDrillPath drillPath2)  
      • 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
    • Constructor Detail

      • DrillPathsComparator

        public DrillPathsComparator​(boolean groupByType,
                                    boolean sortByName)
    • Method Detail

      • compare

        public int compare​(WebDrillPath drillPath1,
                           WebDrillPath drillPath2)
                    throws java.lang.ClassCastException
        Specified by:
        compare in interface java.util.Comparator<WebDrillPath>
        Throws:
        java.lang.ClassCastException