Class Maths
java.lang.Object
dev.failsafe.internal.util.Maths
Misc math utilities.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Maths
private Maths()
-
-
Method Details
-
add
public static long add(long a, long b) Returns the sum ofaandbelseLong.MAX_VALUEif the sum would otherwise overflow. -
roundDown
public static long roundDown(long input, long interval) Returns theinputrounded down to the nearestinterval.
-