Class AbstractAnalysis.Worklist.ForwardDFOComparator

  • All Implemented Interfaces:
    java.util.Comparator<Block>
    Enclosing class:
    AbstractAnalysis.Worklist

    public class AbstractAnalysis.Worklist.ForwardDFOComparator
    extends java.lang.Object
    implements java.util.Comparator<Block>
    Comparators to allow priority queue to order blocks by their depth-first order, using by forward analysis.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compare​(Block b1, Block b2)  
      • 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

      • ForwardDFOComparator

        public ForwardDFOComparator()
    • Method Detail

      • compare

        public int compare​(Block b1,
                           Block b2)
        Specified by:
        compare in interface java.util.Comparator<Block>