Class MathFix


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

      Constructors 
      Constructor Description
      MathFix()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long floorDiv​(long x, int y)
      Fixes NoSuchMethodError when JDK 8 code is compiled by JDK 11.
      static long floorDiv​(long x, long y)  
      • Methods inherited from class java.lang.Object

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

      • MathFix

        public MathFix()
    • Method Detail

      • floorDiv

        public static long floorDiv​(long x,
                                    int y)
        Fixes NoSuchMethodError when JDK 8 code is compiled by JDK 11.
      • floorDiv

        public static long floorDiv​(long x,
                                    long y)