scala

Long

abstract final class Long extends AnyVal

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

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

Source
Long.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Long
  2. AnyVal
  3. NotNull
  4. Any
Implicitly
  1. by long2Long
  2. by longWrapper
  3. by any2stringadd
  4. by any2stringfmt
  5. by any2ArrowAssoc
  6. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Long()

Abstract Value Members

  1. abstract def !=(x: Double): Boolean

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

  2. abstract def !=(x: Float): Boolean

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

  3. abstract def !=(x: Long): Boolean

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

  4. abstract def !=(x: Int): Boolean

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

  5. abstract def !=(x: Char): Boolean

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

  6. abstract def !=(x: Short): Boolean

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

  7. abstract def !=(x: Byte): Boolean

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

  8. abstract def %(x: Double): Double

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

  9. abstract def %(x: Float): Float

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

  10. abstract def %(x: Long): Long

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

  11. abstract def %(x: Int): Long

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

  12. abstract def %(x: Char): Long

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

  13. abstract def %(x: Short): Long

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

  14. abstract def %(x: Byte): Long

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

  15. abstract def &(x: Long): Long

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

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

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

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

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

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

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

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

    Returns the bitwise AND of this value and x.

    Returns the bitwise AND of this value and x.

    Example:
    1. (0xf0 & 0xaa) == 0xa0
      // in binary:   11110000
      //            & 10101010
      //              --------
      //              10100000
  20. abstract def *(x: Double): Double

    Returns the product of this value and x.

  21. abstract def *(x: Float): Float

    Returns the product of this value and x.

  22. abstract def *(x: Long): Long

    Returns the product of this value and x.

  23. abstract def *(x: Int): Long

    Returns the product of this value and x.

  24. abstract def *(x: Char): Long

    Returns the product of this value and x.

  25. abstract def *(x: Short): Long

    Returns the product of this value and x.

  26. abstract def *(x: Byte): Long

    Returns the product of this value and x.

  27. abstract def +(x: Double): Double

    Returns the sum of this value and x.

  28. abstract def +(x: Float): Float

    Returns the sum of this value and x.

  29. abstract def +(x: Long): Long

    Returns the sum of this value and x.

  30. abstract def +(x: Int): Long

    Returns the sum of this value and x.

  31. abstract def +(x: Char): Long

    Returns the sum of this value and x.

  32. abstract def +(x: Short): Long

    Returns the sum of this value and x.

  33. abstract def +(x: Byte): Long

    Returns the sum of this value and x.

  34. abstract def +(x: String): String

  35. abstract def -(x: Double): Double

    Returns the difference of this value and x.

  36. abstract def -(x: Float): Float

    Returns the difference of this value and x.

  37. abstract def -(x: Long): Long

    Returns the difference of this value and x.

  38. abstract def -(x: Int): Long

    Returns the difference of this value and x.

  39. abstract def -(x: Char): Long

    Returns the difference of this value and x.

  40. abstract def -(x: Short): Long

    Returns the difference of this value and x.

  41. abstract def -(x: Byte): Long

    Returns the difference of this value and x.

  42. abstract def /(x: Double): Double

    Returns the quotient of this value and x.

  43. abstract def /(x: Float): Float

    Returns the quotient of this value and x.

  44. abstract def /(x: Long): Long

    Returns the quotient of this value and x.

  45. abstract def /(x: Int): Long

    Returns the quotient of this value and x.

  46. abstract def /(x: Char): Long

    Returns the quotient of this value and x.

  47. abstract def /(x: Short): Long

    Returns the quotient of this value and x.

  48. abstract def /(x: Byte): Long

    Returns the quotient of this value and x.

  49. abstract def <(x: Double): Boolean

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

  50. abstract def <(x: Float): Boolean

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

  51. abstract def <(x: Long): Boolean

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

  52. abstract def <(x: Int): Boolean

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

  53. abstract def <(x: Char): Boolean

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

  54. abstract def <(x: Short): Boolean

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

  55. abstract def <(x: Byte): Boolean

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

  56. abstract 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.

    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  57. abstract 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.

    Example:
    1. 6 << 3 == 48 // in binary: 0110 << 3 == 0110000
  58. abstract def <=(x: Double): Boolean

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

  59. abstract def <=(x: Float): Boolean

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

  60. abstract def <=(x: Long): Boolean

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

  61. abstract def <=(x: Int): Boolean

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

  62. abstract def <=(x: Char): Boolean

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

  63. abstract def <=(x: Short): Boolean

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

  64. abstract def <=(x: Byte): Boolean

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

  65. abstract def ==(x: Double): Boolean

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

  66. abstract def ==(x: Float): Boolean

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

  67. abstract def ==(x: Long): Boolean

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

  68. abstract def ==(x: Int): Boolean

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

  69. abstract def ==(x: Char): Boolean

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

  70. abstract def ==(x: Short): Boolean

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

  71. abstract def ==(x: Byte): Boolean

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

  72. abstract def >(x: Double): Boolean

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

  73. abstract def >(x: Float): Boolean

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

  74. abstract def >(x: Long): Boolean

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

  75. abstract def >(x: Int): Boolean

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

  76. abstract def >(x: Char): Boolean

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

  77. abstract def >(x: Short): Boolean

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

  78. abstract def >(x: Byte): Boolean

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

  79. abstract def >=(x: Double): Boolean

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

  80. abstract def >=(x: Float): Boolean

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

  81. abstract def >=(x: Long): Boolean

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

  82. abstract def >=(x: Int): Boolean

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

  83. abstract def >=(x: Char): Boolean

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

  84. abstract def >=(x: Short): Boolean

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

  85. abstract def >=(x: Byte): Boolean

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

  86. abstract def >>(x: Long): Long

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

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

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

    Returns this value bit-shifted left by the specified number of bits, filling in the right bits with the same value as the left-most bit of this.

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

    Example:
    1. -21 >> 3 == -3
      // in binary: 11111111 11111111 11111111 11101011 >> 3 ==
      //            11111111 11111111 11111111 11111101
  88. abstract 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.

    Examples:
    1. -21 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  89. abstract 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.

    Examples:
    1. -21 >>> 3 == 536870909
      // in binary: 11111111 11111111 11111111 11101011 >>> 3 ==
      //            00011111 11111111 11111111 11111101
    2. ,
    3. 21 >>> 3 == 2 // in binary: 010101 >>> 3 == 010
  90. abstract def ^(x: Long): Long

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

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

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

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

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

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

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

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

    Returns the bitwise XOR of this value and x.

    Returns the bitwise XOR of this value and x.

    Example:
    1. (0xf0 ^ 0xaa) == 0x5a
      // in binary:   11110000
      //            ^ 10101010
      //              --------
      //              01011010
  95. abstract def toByte: Byte

  96. abstract def toChar: Char

  97. abstract def toDouble: Double

  98. abstract def toFloat: Float

  99. abstract def toInt: Int

  100. abstract def toLong: Long

  101. abstract def toShort: Short

  102. abstract def unary_+: Long

    Returns this value, unmodified.

  103. abstract def unary_-: Long

    Returns the negation of this value.

  104. abstract def unary_~: Long

    Returns the bitwise negation of this value.

    Returns the bitwise negation of this value.

    Example:
    1. ~5 == -6
      // in binary: ~00000101 ==
      //             11111010
  105. abstract def |(x: Long): Long

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

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

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

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

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

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

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

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

    Returns the bitwise OR of this value and x.

    Returns the bitwise OR of this value and x.

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

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Test two objects for inequality.

    Test two objects for inequality.

    returns

    true if !(this == that), false otherwise.

    Definition Classes
    Any
  2. final def ##(): Int

    Equivalent to x.hashCode except for boxed numeric types and null.

    Equivalent to x.hashCode except for boxed numeric types and null. For numerics, it returns a hash value which is consistent with value equality: if two value type instances compare as true, then ## will produce the same hash value for each of them. For null returns a hashcode where null.hashCode throws a NullPointerException.

    returns

    a hash value consistent with ==

    Definition Classes
    Any
  3. def ->[B](y: B): (Long, B)

    Implicit information
    This member is added by an implicit conversion from Long to ArrowAssoc[Long] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  4. final def ==(arg0: Any): Boolean

    Test two objects for equality.

    Test two objects for equality. The expression x == that is equivalent to if (x eq null) that eq null else x.equals(that).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  5. def abs: Long

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  6. final def asInstanceOf[T0]: T0

    Cast the receiver object to be of type T0.

    Cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested type.

    returns

    the receiver object.

    Definition Classes
    Any
    Exceptions thrown
    ClassCastException

    if the receiver object is not an instance of the erasure of type T0.

  7. def byteValue(): Byte

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  8. def byteValue(): Byte

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Number
  9. def compare(y: Long): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implement this method to determine how instances of A will be sorted.

    Returns x where:

    • x < 0 when this < that
    • x == 0 when this == that
    • x > 0 when this > that
    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    OrderedProxyOrdered
  10. def compareTo(arg0: Long): Int

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Comparable
  11. def compareTo(that: Long): Int

    Result of comparing this with operand that.

    Result of comparing this with operand that.

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Ordered → Comparable
  12. def doubleValue(): Double

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  13. def doubleValue(): Double

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  14. def ensuring(cond: (Long) ⇒ Boolean, msg: ⇒ Any): Long

    Implicit information
    This member is added by an implicit conversion from Long to Ensuring[Long] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (Long) ⇒ Boolean): Long

    Implicit information
    This member is added by an implicit conversion from Long to Ensuring[Long] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): Long

    Implicit information
    This member is added by an implicit conversion from Long to Ensuring[Long] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): Long

    Implicit information
    This member is added by an implicit conversion from Long to Ensuring[Long] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def equals(arg0: Any): Boolean

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Compares the receiver object (this) with the argument object (that) for equivalence.

    Any implementation of this method should be an equivalence relation:

    • It is reflexive: for any instance x of type Any, x.equals(x) should return true.
    • It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true.
    • It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode to ensure that objects which are "equal" (o1.equals(o2) returns true) hash to the same Int. (o1.hashCode.equals(o2.hashCode)).

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    Definition Classes
    Any
  19. def floatValue(): Float

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  20. def floatValue(): Float

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  21. def formatted(fmtstr: String): String

    Returns string formatted according to given format string.

    Returns string formatted according to given format string. Format strings are as for String.format (@see java.lang.String.format).

    Implicit information
    This member is added by an implicit conversion from Long to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. def getClass(): Class[Long]

    Returns the runtime class representation of the object.

    Returns the runtime class representation of the object.

    returns

    a class object corresponding to the runtime type of the receiver.

    Definition Classes
    LongAnyValAny
  23. def hashCode(): Int

    Calculate a hash code value for the object.

    Calculate a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for this object.

    Definition Classes
    Any
  24. def intValue(): Int

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  25. def intValue(): Int

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  26. final def isInstanceOf[T0]: Boolean

    Test whether the dynamic type of the receiver object is T0.

    Test whether the dynamic type of the receiver object is T0.

    Note that the result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the specified type.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    Definition Classes
    Any
  27. def isValidByte: Boolean

    Returns true iff this has a zero fractional part, and is within the range of Byte MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of Byte MinValue and MaxValue; otherwise returns false.

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLongScalaNumericConversions
  28. def isValidChar: Boolean

    Returns true iff this has a zero fractional part, and is within the range of Char MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of Char MinValue and MaxValue; otherwise returns false.

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLongScalaNumericConversions
  29. def isValidInt: Boolean

    Returns true iff this has a zero fractional part, and is within the range of Int MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of Int MinValue and MaxValue; otherwise returns false.

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLongScalaNumericConversions
  30. def isValidShort: Boolean

    Returns true iff this has a zero fractional part, and is within the range of Short MinValue and MaxValue; otherwise returns false.

    Returns true iff this has a zero fractional part, and is within the range of Short MinValue and MaxValue; otherwise returns false.

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLongScalaNumericConversions
  31. def isWhole(): Boolean

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaWholeNumberProxy → ScalaNumber
  32. def longValue(): Long

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  33. def longValue(): Long

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → Number
  34. def max(that: Long): Long

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  35. def min(that: Long): Long

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  36. val self: Long

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLongTypedProxy
  37. val self: Any

    Implicit information
    This member is added by an implicit conversion from Long to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  38. val self: Any

    Implicit information
    This member is added by an implicit conversion from Long to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
  39. def shortValue(): Short

    Implicit information
    This member is added by an implicit conversion from Long to Long performed by method long2Long in scala.Predef.
    Definition Classes
    Long → Number
  40. def shortValue(): Short

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    Number
  41. def signum: Int

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy
  42. def to(end: Long, step: Long): Inclusive[Long]

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  43. def to(end: Long): Inclusive[Long]

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  44. def toBinaryString: String

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLong
  45. def toHexString: String

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLong
  46. def toOctalString: String

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    RichLong
  47. def toString(): String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    Definition Classes
    Any
  48. def underlying(): AnyRef

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    ScalaNumberProxy → ScalaNumber
  49. def until(end: Long, step: Long): Exclusive[Long]

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  50. def until(end: Long): Exclusive[Long]

    Implicit information
    This member is added by an implicit conversion from Long to RichLong performed by method longWrapper in scala.LowPriorityImplicits.
    Definition Classes
    IntegralProxyRangedProxy
  51. def [B](y: B): (Long, B)

    Implicit information
    This member is added by an implicit conversion from Long to ArrowAssoc[Long] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def x: Long

    Implicit information
    This member is added by an implicit conversion from Long to ArrowAssoc[Long] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: Long

    Implicit information
    This member is added by an implicit conversion from Long to Ensuring[Long] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from AnyVal

Inherited from NotNull

Inherited from Any

Inherited by implicit conversion long2Long from Long to Long

Inherited by implicit conversion longWrapper from Long to RichLong

Inherited by implicit conversion any2stringadd from Long to StringAdd

Inherited by implicit conversion any2stringfmt from Long to StringFormat

Inherited by implicit conversion any2ArrowAssoc from Long to ArrowAssoc[Long]

Inherited by implicit conversion any2Ensuring from Long to Ensuring[Long]