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