open fun addExact(value: T): T
(source)open fun addExact(value: Int): T
(source)
Returns a value that is (this + value)
.
value
- the amount to be added to this value
ArithmeticException
- if the result of the addition overflows
Return
this + value