Class MathUtil


  • public final class MathUtil
    extends java.lang.Object
    Math utilities to be shared by numeric subjects.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private MathUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean equals​(double left, double right, double tolerance)  
      static boolean equals​(float left, float right, float tolerance)  
      • Methods inherited from class java.lang.Object

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

      • MathUtil

        private MathUtil()
    • Method Detail

      • equals

        public static boolean equals​(double left,
                                     double right,
                                     double tolerance)
      • equals

        public static boolean equals​(float left,
                                     float right,
                                     float tolerance)