Class ControlFlowGraphLoopReducer.LoopComparator

  • All Implemented Interfaces:
    java.util.Comparator<Loop>
    Enclosing class:
    ControlFlowGraphLoopReducer

    public static class ControlFlowGraphLoopReducer.LoopComparator
    extends java.lang.Object
    implements java.util.Comparator<Loop>
    • Constructor Summary

      Constructors 
      Constructor Description
      LoopComparator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Loop loop1, Loop loop2)  
      boolean equals​(java.lang.Object other)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Comparator

        reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
    • Constructor Detail

      • LoopComparator

        public LoopComparator()
    • Method Detail

      • compare

        public int compare​(Loop loop1,
                           Loop loop2)
        Specified by:
        compare in interface java.util.Comparator<Loop>
      • equals

        public boolean equals​(java.lang.Object other)
        Specified by:
        equals in interface java.util.Comparator<Loop>
        Overrides:
        equals in class java.lang.Object