public class MathUtils extends Object
| Constructor and Description |
|---|
MathUtils() |
| Modifier and Type | Method and Description |
|---|---|
static long |
multiplyExact(long x,
long y)
Returns the product of the arguments, throwing an exception if the result
overflows a
long. |
public static long multiplyExact(long x,
long y)
long.x - the first valuey - the second valueArithmeticException - if the result overflows a longCopyright © 2019. All rights reserved.