Class DoubleUtil


  • public final class DoubleUtil
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double DEFAULT_THRESHOLD  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean compareWithDefaultThreshold​(double lhs, double rhs)  
      static boolean compareWithThreshold​(double lhs, double rhs, double epsilon)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • compareWithDefaultThreshold

        public static boolean compareWithDefaultThreshold​(double lhs,
                                                          double rhs)
      • compareWithThreshold

        public static boolean compareWithThreshold​(double lhs,
                                                   double rhs,
                                                   double epsilon)