Class ConstantValueComparator

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

    public class ConstantValueComparator
    extends java.lang.Object
    implements java.util.Comparator<ConstantValue>
    This class compares two constant values, and takes into account that one of the arguments may be the very special infinity value.
    Author:
    Ulf Lilleengen
    • Method Summary

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

      • ConstantValueComparator

        public ConstantValueComparator()