Package dev.failsafe.internal.util
Class Maths
- java.lang.Object
-
- dev.failsafe.internal.util.Maths
-
public final class Maths extends java.lang.ObjectMisc math utilities.
-
-
Constructor Summary
Constructors Modifier Constructor Description privateMaths()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longadd(long a, long b)Returns the sum ofaandbelseLong.MAX_VALUEif the sum would otherwise overflow.static longroundDown(long input, long interval)Returns theinputrounded down to the nearestinterval.
-