toIntExact
Returns the value of the long
argument, throwing an exception if the value overflows an int
.
Return
the argument as an int
Parameters
value
the long value
Throws
if the argument
overflows an int
Returns the value of the long
argument, throwing an exception if the value overflows an int
.
the argument as an int
the long value
if the argument
overflows an int