On this page
Object Long.Long
object Long
Supertypes | |
---|---|
Self type |
Concrete methods
Source
Transform a value type into a boxed reference type.
Runtime implementation determined by scala.runtime.BoxesRunTime.boxToLong
. See src/library/scala/runtime/BoxesRunTime.java.
Value parameters |
|
---|---|
Returns | a java.lang.Long offering |
Source
The String representation of the scala.Long companion object.
Definition Classes | Any |
---|
Source
Transform a boxed type into a value type. Note that this method is not typesafe: it accepts any Object, but will throw an exception if the argument is not a java.lang.Long.
Runtime implementation determined by scala.runtime.BoxesRunTime.unboxToLong
. See src/library/scala/runtime/BoxesRunTime.java.
Value parameters |
|
---|---|
Returns | the Long resulting from calling longValue() on |
Throws |
|
Concrete fields
Source
final val MaxValue: 9223372036854775807L
The largest value representable as a Long.
Source
final val MinValue: -9223372036854775808L
The smallest value representable as a Long.
© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/Long$.html