Class MathHelpers


  • public class MathHelpers
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      MathHelpers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int abs​(int in)  
      static long abs​(long in)  
      static double minMax​(double value, double min, double max)  
      static int minMax​(int value, int min, int max)  
      static long minMax​(long value, long min, long max)  
      • Methods inherited from class java.lang.Object

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

      • MathHelpers

        public MathHelpers()
    • Method Detail

      • abs

        public static int abs​(int in)
      • abs

        public static long abs​(long in)
      • minMax

        public static int minMax​(int value,
                                 int min,
                                 int max)
      • minMax

        public static long minMax​(long value,
                                  long min,
                                  long max)
      • minMax

        public static double minMax​(double value,
                                    double min,
                                    double max)