implicit final class LongOps extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- LongOps
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new LongOps(x: Long)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toByteExact: Byte
Converts the
Longvalue to aByte, checking for lost information.Converts the
Longvalue to aByte, checking for lost information. IfLongvalue is out of the possible range for aByteresult, then ajava.lang.ArithmeticExceptionis thrown. - def toIntExact: Int
Converts the
Longvalue to aInt, checking for lost information.Converts the
Longvalue to aInt, checking for lost information. IfLongvalue is out of the possible range for ascala.Intresult, then ajava.lang.ArithmeticExceptionis thrown. - def toShortExact: Short
Converts the
Longvalue to aShort, checking for lost information.Converts the
Longvalue to aShort, checking for lost information. IfLongvalue is out of the possible range for aShortresult, then ajava.lang.ArithmeticExceptionis thrown. - def toString(): String
- Definition Classes
- Any
- val x: Long