Long

scala.Long
See theLong companion object
final abstract class Long() extends AnyVal

Long, a 64-bit signed integer (equivalent to Java's long primitive type) is a subtype of scala.AnyVal. Instances of Long are not represented by an object in the underlying runtime system.

There is an implicit conversion from scala.Long => scala.runtime.RichLong which provides useful non-primitive operations.

Attributes

Companion
object
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Abstract methods

def !=(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Byte): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Short): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Char): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Int): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Long): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Float): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def !=(x: Double): Boolean

Returns true if this value is not equal to x, false otherwise.

Returns true if this value is not equal to x, false otherwise.

Attributes

def %(x: Byte): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Short): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Char): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Int): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Long): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Float): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Double): Double
Implicitly added by long2double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Byte): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Short): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Char): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Int): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Long): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Float): Float
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Double): Double
Implicitly added by long2float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Byte): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Short): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Char): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Int): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Long): Long

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Float): Float

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def %(x: Double): Double

Returns the remainder of the division of this value by x.

Returns the remainder of the division of this value by x.

Attributes

def &(x: Byte): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

Attributes

Example
(0xf0 & 0xaa) == 0xa0
// in binary:   11110000
//            & 10101010
//              --------
//              10100000
def &(x: Short): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

Attributes

Example
(0xf0 & 0xaa) == 0xa0
// in binary:   11110000
//            & 10101010
//              --------
//              10100000
def &(x: Char): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

Attributes

Example
(0xf0 & 0xaa) == 0xa0
// in binary:   11110000
//            & 10101010
//              --------
//              10100000
def &(x: Int): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

Attributes

Example
(0xf0 & 0xaa) == 0xa0
// in binary:   11110000
//            & 10101010
//              --------
//              10100000
def &(x: Long): Long

Returns the bitwise AND of this value and x.

Returns the bitwise AND of this value and x.

Attributes

Example
(0xf0 & 0xaa) == 0xa0
// in binary:   11110000
//            & 10101010
//              --------
//              10100000
def *(x: Byte): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Short): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Char): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Int): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Long): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Float): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Double): Double
Implicitly added by long2double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Byte): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Short): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Char): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Int): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Long): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Float): Float
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Double): Double
Implicitly added by long2float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Byte): Long

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Short): Long

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Char): Long

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Int): Long

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Long): Long

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Float): Float

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def *(x: Double): Double

Returns the product of this value and x.

Returns the product of this value and x.

Attributes

def +(x: Byte): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Short): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Char): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Int): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Long): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Float): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Double): Double
Implicitly added by long2double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Byte): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Short): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Char): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Int): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Long): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Float): Float
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Double): Double
Implicitly added by long2float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Byte): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Short): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Char): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Int): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Long): Long

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Float): Float

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def +(x: Double): Double

Returns the sum of this value and x.

Returns the sum of this value and x.

Attributes

def -(x: Byte): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Short): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Char): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Int): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Long): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Float): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Double): Double
Implicitly added by long2double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Byte): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Short): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Char): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Int): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Long): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Float): Float
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Double): Double
Implicitly added by long2float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Byte): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Short): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Char): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Int): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Long): Long

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Float): Float

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def -(x: Double): Double

Returns the difference of this value and x.

Returns the difference of this value and x.

Attributes

def /(x: Byte): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Short): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Char): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Int): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Long): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Float): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Double): Double
Implicitly added by long2double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Byte): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Short): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Char): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Int): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Long): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Float): Float
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Double): Double
Implicitly added by long2float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Byte): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Short): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Char): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Int): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Long): Long

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Float): Float

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def /(x: Double): Double

Returns the quotient of this value and x.

Returns the quotient of this value and x.

Attributes

def <(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Byte): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Short): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Char): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Int): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Long): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Float): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <(x: Double): Boolean

Returns true if this value is less than x, false otherwise.

Returns true if this value is less than x, false otherwise.

Attributes

def <<(x: Int): Long

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Attributes

Example
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <<(x: Long): Long

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Returns this value bit-shifted left by the specified number of bits, filling in the new right bits with zeroes.

Attributes

Example
 6 << 3 == 48 // in binary: 0110 << 3 == 0110000 
def <=(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Byte): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Short): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Char): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Int): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Long): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Float): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def <=(x: Double): Boolean

Returns true if this value is less than or equal to x, false otherwise.

Returns true if this value is less than or equal to x, false otherwise.

Attributes

def ==(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Byte): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Short): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Char): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Int): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Long): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Float): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def ==(x: Double): Boolean

Returns true if this value is equal to x, false otherwise.

Returns true if this value is equal to x, false otherwise.

Attributes

def >(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Byte): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Short): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Char): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Int): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Long): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Float): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >(x: Double): Boolean

Returns true if this value is greater than x, false otherwise.

Returns true if this value is greater than x, false otherwise.

Attributes

def >=(x: Byte): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Short): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Char): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Int): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Long): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Float): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Double): Boolean
Implicitly added by long2double

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Byte): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Short): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Char): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Int): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Long): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Float): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Double): Boolean
Implicitly added by long2float

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Byte): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Short): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Char): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Int): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Long): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Float): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >=(x: Double): Boolean

Returns true if this value is greater than or equal to x, false otherwise.

Returns true if this value is greater than or equal to x, false otherwise.

Attributes

def >>(x: Int): Long

Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

Attributes

Example
-21 >> 3 == -3
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
def >>(x: Long): Long

Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

Returns this value bit-shifted right by the specified number of bits, filling in the left bits with the same value as the left-most bit of this. The effect of this is to retain the sign of the value.

Attributes

Example
-21 >> 3 == -3
// in binary: 11111111 11111111 11111111 11101011 >> 3 ==
//            11111111 11111111 11111111 11111101
def >>>(x: Int): Long

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Attributes

Example
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
-21 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def >>>(x: Long): Long

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Returns this value bit-shifted right by the specified number of bits, filling the new left bits with zeroes.

Attributes

Example
 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010 
-21 >>> 3 == 536870909
// in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
//            00011111 11111111 11111111 11111101
def ^(x: Byte): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
def ^(x: Short): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
def ^(x: Char): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
def ^(x: Int): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
def ^(x: Long): Long

Returns the bitwise XOR of this value and x.

Returns the bitwise XOR of this value and x.

Attributes

Example
(0xf0 ^ 0xaa) == 0x5a
// in binary:   11110000
//            ^ 10101010
//              --------
//              01011010
def toByte: Byte
Implicitly added by long2double
def toByte: Byte
Implicitly added by long2float
def toByte: Byte
def toChar: Char
Implicitly added by long2double
def toChar: Char
Implicitly added by long2float
def toChar: Char
Implicitly added by long2double
Implicitly added by long2float
def toFloat: Float
Implicitly added by long2double
def toFloat: Float
Implicitly added by long2float
def toFloat: Float
def toInt: Int
Implicitly added by long2double
def toInt: Int
Implicitly added by long2float
def toInt: Int
def toLong: Long
Implicitly added by long2double
def toLong: Long
Implicitly added by long2float
def toLong: Long
def toShort: Short
Implicitly added by long2double
def toShort: Short
Implicitly added by long2float
def toShort: Short
Implicitly added by long2double

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

def unary_+: Float
Implicitly added by long2float

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

def unary_+: Long

Returns this value, unmodified.

Returns this value, unmodified.

Attributes

Implicitly added by long2double

Returns the negation of this value.

Returns the negation of this value.

Attributes

def unary_-: Float
Implicitly added by long2float

Returns the negation of this value.

Returns the negation of this value.

Attributes

def unary_-: Long

Returns the negation of this value.

Returns the negation of this value.

Attributes

def unary_~: Long

Returns the bitwise negation of this value.

Returns the bitwise negation of this value.

Attributes

Example
~5 == -6
// in binary: ~00000101 ==
//             11111010
def |(x: Byte): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010
def |(x: Short): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010
def |(x: Char): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010
def |(x: Int): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010
def |(x: Long): Long

Returns the bitwise OR of this value and x.

Returns the bitwise OR of this value and x.

Attributes

Example
(0xf0 | 0xaa) == 0xfa
// in binary:   11110000
//            | 10101010
//              --------
//              11111010

Deprecated methods

def +(x: String): String
Implicitly added by long2double

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
def +(x: String): String
Implicitly added by long2float

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`
def +(x: String): String

Attributes

Deprecated
[Since version 2.13.0] Adding a number and a String is deprecated. Use the string interpolation `s\"$num$str\"`