| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |
abstract final class Long
extends
AnyVal
Class Long belongs to the value
classes whose instances are not represented as objects by the
underlying host system. There is an implicit conversion from
instances of Long to instances of
runtime.RichLong which
provides useful non-primitive operations. All value classes inherit
from class AnyVal.
Values MAX_LONG and MIN_LONG
are in defined in object scala.Math.
| toByte |
def toByte
|
Byte | |
| toChar |
def toChar
|
Char | |
| toDouble |
def toDouble
|
Double | |
| toFloat |
def toFloat
|
Float | |
| toInt |
def toInt
|
Int | |
| toLong |
def toLong
|
Long | |
| toShort |
def toShort
|
Short | |
| unary_+ |
def unary_+
|
Long | |
| unary_- |
def unary_-
|
Long | |
| unary_~ |
def unary_~
|
Long |
| != |
def !=(arg0 : Double)
|
Boolean | |
| != |
def !=(arg0 : Float)
|
Boolean | |
| != |
def !=(arg0 : Short)
|
Boolean | |
| != |
def !=(arg0 : Int)
|
Boolean | |
| != |
final def !=(arg0 : Any)
o != arg0 is the same as !(o == (arg0))
[details]
|
Boolean | Any |
| != |
def !=(arg0 : Char)
|
Boolean | |
| != |
def !=(arg0 : Byte)
|
Boolean | |
| != |
def !=(arg0 : Long)
|
Boolean | |
| % |
def %(arg0 : Short)
|
Long | |
| % |
def %(arg0 : Float)
|
Float | |
| % |
def %(arg0 : Int)
|
Long | |
| % |
def %(arg0 : Char)
|
Long | |
| % |
def %(arg0 : Long)
|
Long | |
| % |
def %(arg0 : Byte)
|
Long | |
| % |
def %(arg0 : Double)
|
Double | |
| & |
def &(arg0 : Char)
|
Long | |
| & |
def &(arg0 : Long)
|
Long | |
| & |
def &(arg0 : Byte)
|
Long | |
| & |
def &(arg0 : Int)
|
Long | |
| & |
def &(arg0 : Short)
|
Long | |
| * |
def *(arg0 : Byte)
|
Long | |
| * |
def *(arg0 : Long)
|
Long | |
| * |
def *(arg0 : Char)
|
Long | |
| * |
def *(arg0 : Short)
|
Long | |
| * |
def *(arg0 : Float)
|
Float | |
| * |
def *(arg0 : Int)
|
Long | |
| * |
def *(arg0 : Double)
|
Double | |
| + |
def +(arg0 : Int)
|
Long | |
| + |
def +(arg0 : Short)
|
Long | |
| + |
def +(arg0 : Float)
|
Float | |
| + |
def +(arg0 : Byte)
|
Long | |
| + |
def +(arg0 : Long)
|
Long | |
| + |
def +(arg0 : Char)
|
Long | |
| + |
def +(arg0 : Double)
|
Double | |
| + |
def +(arg0 : String)
|
String | |
| - |
def -(arg0 : Double)
|
Double | |
| - |
def -(arg0 : Byte)
|
Long | |
| - |
def -(arg0 : Long)
|
Long | |
| - |
def -(arg0 : Char)
|
Long | |
| - |
def -(arg0 : Short)
|
Long | |
| - |
def -(arg0 : Float)
|
Float | |
| - |
def -(arg0 : Int)
|
Long | |
| / |
def /(arg0 : Double)
|
Double | |
| / |
def /(arg0 : Short)
|
Long | |
| / |
def /(arg0 : Float)
|
Float | |
| / |
def /(arg0 : Int)
|
Long | |
| / |
def /(arg0 : Char)
|
Long | |
| / |
def /(arg0 : Long)
|
Long | |
| / |
def /(arg0 : Byte)
|
Long | |
| < |
def <(arg0 : Float)
|
Boolean | |
| < |
def <(arg0 : Short)
|
Boolean | |
| < |
def <(arg0 : Int)
|
Boolean | |
| < |
def <(arg0 : Char)
|
Boolean | |
| < |
def <(arg0 : Byte)
|
Boolean | |
| < |
def <(arg0 : Long)
|
Boolean | |
| < |
def <(arg0 : Double)
|
Boolean | |
| << |
def <<(arg0 : Int)
|
Long | |
| << |
def <<(arg0 : Long)
|
Long | |
| <= |
def <=(arg0 : Double)
|
Boolean | |
| <= |
def <=(arg0 : Char)
|
Boolean | |
| <= |
def <=(arg0 : Byte)
|
Boolean | |
| <= |
def <=(arg0 : Long)
|
Boolean | |
| <= |
def <=(arg0 : Int)
|
Boolean | |
| <= |
def <=(arg0 : Short)
|
Boolean | |
| <= |
def <=(arg0 : Float)
|
Boolean | |
| == |
def ==(arg0 : Long)
|
Boolean | |
| == |
def ==(arg0 : Byte)
|
Boolean | |
| == |
final def ==(arg0 : Any)
o == arg0 is the same as o
[details]
|
Boolean | Any |
| == |
def ==(arg0 : Char)
|
Boolean | |
| == |
def ==(arg0 : Float)
|
Boolean | |
| == |
def ==(arg0 : Short)
|
Boolean | |
| == |
def ==(arg0 : Int)
|
Boolean | |
| == |
def ==(arg0 : Double)
|
Boolean | |
| > |
def >(arg0 : Char)
|
Boolean | |
| > |
def >(arg0 : Byte)
|
Boolean | |
| > |
def >(arg0 : Long)
|
Boolean | |
| > |
def >(arg0 : Int)
|
Boolean | |
| > |
def >(arg0 : Short)
|
Boolean | |
| > |
def >(arg0 : Float)
|
Boolean | |
| > |
def >(arg0 : Double)
|
Boolean | |
| >= |
def >=(arg0 : Double)
|
Boolean | |
| >= |
def >=(arg0 : Int)
|
Boolean | |
| >= |
def >=(arg0 : Short)
|
Boolean | |
| >= |
def >=(arg0 : Float)
|
Boolean | |
| >= |
def >=(arg0 : Byte)
|
Boolean | |
| >= |
def >=(arg0 : Long)
|
Boolean | |
| >= |
def >=(arg0 : Char)
|
Boolean | |
| >> |
def >>(arg0 : Int)
|
Long | |
| >> |
def >>(arg0 : Long)
|
Long | |
| >>> |
def >>>(arg0 : Int)
|
Long | |
| >>> |
def >>>(arg0 : Long)
|
Long | |
| ^ |
def ^(arg0 : Int)
|
Long | |
| ^ |
def ^(arg0 : Short)
|
Long | |
| ^ |
def ^(arg0 : Long)
|
Long | |
| ^ |
def ^(arg0 : Byte)
|
Long | |
| ^ |
def ^(arg0 : Char)
|
Long | |
| asInstanceOf |
final def asInstanceOf[T0]
This method is used to cast the receiver object to be of type
T0
[details]
Note that the success of a cast at runtime is modulo Scala's
erasure semantics. Therefore the expression
|
T0 | Any |
| equals |
def equals(arg0 : Any)
This method is used to compare the receiver object (
this)
with the argument object (arg0) for equivalence
[details]
The default implementations of this method is an equivalence relation:
If you override this method, you should verify that
your implementation remains an equivalence relation.
Additionally, when overriding this method it is often necessary to
override
|
Boolean | Any |
| hashCode |
def hashCode
Returns a hash code value for the object
[details]
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash
codes (
|
Int | Any |
| isInstanceOf |
final def isInstanceOf[T0]
This method is used to test whether the dynamic type of the receiver object is
T0
[details]
Note that the test result of the test is modulo Scala's erasure
semantics. Therefore the expression
|
Boolean | Any |
| toString |
def toString
Returns a string representation of the object
[details]
The default representation is platform dependent.
|
String | Any |
| | |
def |(arg0 : Char)
|
Long | |
| | |
def |(arg0 : Long)
|
Long | |
| | |
def |(arg0 : Byte)
|
Long | |
| | |
def |(arg0 : Int)
|
Long | |
| | |
def |(arg0 : Short)
|
Long |
| OVERVIEW | PACKAGE | CONSTR | FIELDS | METHODS | FRAMES NO FRAMES | INHERITED |