Converts the Int
value to a scala.Byte, checking for lost information.
Converts the Int
value to a scala.Byte, checking for lost information.
If Int
value is out of the possible range for a scala.Byte result,
then a java.lang.ArithmeticException
is thrown.
Converts the Int
value to a scala.Short, checking for lost information.
Converts the Int
value to a scala.Short, checking for lost information.
If Int
value is out of the possible range for a scala.Short result,
then a java.lang.ArithmeticException
is thrown.