decrementExact
Returns the argument decremented by one, throwing an exception if the result overflows an int
. The overflow only occurs for the minimum value.
Return
the result
Parameters
a
the value to decrement
Throws
if the result overflows an int
Returns the argument decremented by one, throwing an exception if the result overflows a long
. The overflow only occurs for the minimum value.
Return
the result
Parameters
a
the value to decrement
Throws
if the result overflows a long