scala.scalajs.runtime

RuntimeLong

final class RuntimeLong extends Number with Comparable[java.lang.Long]

emulate a Java-Long using three integers. taken from gwt LongLib: com.google.gwt.lang.LongLib

only used by runtime

holds values l, m, h (low, middle, high) s.t. (x.l + ((long) x.m << 22) + ((long) x.h << 44)) is equal to the original value

Self Type
RuntimeLong
Linear Supertypes
Comparable[java.lang.Long], Number, java.io.Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RuntimeLong
  2. Comparable
  3. Number
  4. Serializable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RuntimeLong(value: Int)

    Construct from an Int.

    Construct from an Int. This is the implementation of RuntimeLong.fromInt() in a way that does not require to load to module RuntimeLong.

  2. new RuntimeLong(l: Int, m: Int, h: Int)

Value Members

  1. def !=(y: Double): Boolean

    Attributes
    protected
  2. def !=(y: Float): Boolean

    Attributes
    protected
  3. def !=(y: Long): Boolean

    Attributes
    protected
  4. def !=(y: Int): Boolean

    Attributes
    protected
  5. def !=(y: Char): Boolean

    Attributes
    protected
  6. def !=(y: Short): Boolean

    Attributes
    protected
  7. def !=(y: Byte): Boolean

    Attributes
    protected
  8. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. final def !=(arg0: Any): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def %(y: Double): Double

    Attributes
    protected
  12. def %(y: Float): Float

    Attributes
    protected
  13. def %(y: Long): Long

    Attributes
    protected
  14. def %(y: Int): Long

    Attributes
    protected
  15. def %(y: Char): Long

    Attributes
    protected
  16. def %(y: Short): Long

    Attributes
    protected
  17. def %(y: Byte): Long

    Attributes
    protected
  18. def %(y: RuntimeLong): RuntimeLong

  19. def &(y: Long): Long

    Attributes
    protected
  20. def &(y: Int): Long

    Attributes
    protected
  21. def &(y: Char): Long

    Attributes
    protected
  22. def &(y: Short): Long

    Attributes
    protected
  23. def &(y: Byte): Long

    Attributes
    protected
  24. def &(y: RuntimeLong): RuntimeLong

  25. def *(y: Double): Double

    Attributes
    protected
  26. def *(y: Float): Float

    Attributes
    protected
  27. def *(y: Long): Long

    Attributes
    protected
  28. def *(y: Int): Long

    Attributes
    protected
  29. def *(y: Char): Long

    Attributes
    protected
  30. def *(y: Short): Long

    Attributes
    protected
  31. def *(y: Byte): Long

    Attributes
    protected
  32. def *(y: RuntimeLong): RuntimeLong

  33. def +(y: Double): Double

    Attributes
    protected
  34. def +(y: Float): Float

    Attributes
    protected
  35. def +(y: Long): Long

    Attributes
    protected
  36. def +(y: Int): Long

    Attributes
    protected
  37. def +(y: Char): Long

    Attributes
    protected
  38. def +(y: Short): Long

    Attributes
    protected
  39. def +(y: Byte): Long

    Attributes
    protected
  40. def +(y: RuntimeLong): RuntimeLong

  41. def +(y: String): String

  42. def -(y: Double): Double

    Attributes
    protected
  43. def -(y: Float): Float

    Attributes
    protected
  44. def -(y: Long): Long

    Attributes
    protected
  45. def -(y: Int): Long

    Attributes
    protected
  46. def -(y: Char): Long

    Attributes
    protected
  47. def -(y: Short): Long

    Attributes
    protected
  48. def -(y: Byte): Long

    Attributes
    protected
  49. def -(y: RuntimeLong): RuntimeLong

    subtraction note: gwt implements this individually

  50. def ->[B](y: B): (RuntimeLong, B)

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to ArrowAssoc[RuntimeLong] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  51. def /(y: Double): Double

    Attributes
    protected
  52. def /(y: Float): Float

    Attributes
    protected
  53. def /(y: Long): Long

    Attributes
    protected
  54. def /(y: Int): Long

    Attributes
    protected
  55. def /(y: Char): Long

    Attributes
    protected
  56. def /(y: Short): Long

    Attributes
    protected
  57. def /(y: Byte): Long

    Attributes
    protected
  58. def /(y: RuntimeLong): RuntimeLong

  59. def <(y: Double): Boolean

    Attributes
    protected
  60. def <(y: Float): Boolean

    Attributes
    protected
  61. def <(y: Long): Boolean

    Attributes
    protected
  62. def <(y: Int): Boolean

    Attributes
    protected
  63. def <(y: Char): Boolean

    Attributes
    protected
  64. def <(y: Short): Boolean

    Attributes
    protected
  65. def <(y: Byte): Boolean

    Attributes
    protected
  66. def <(y: RuntimeLong): Boolean

    Annotations
    @inline()
  67. def <<(y: Long): Long

    Attributes
    protected
  68. def <<(n_in: Int): RuntimeLong

  69. def <=(y: Double): Boolean

    Attributes
    protected
  70. def <=(y: Float): Boolean

    Attributes
    protected
  71. def <=(y: Long): Boolean

    Attributes
    protected
  72. def <=(y: Int): Boolean

    Attributes
    protected
  73. def <=(y: Char): Boolean

    Attributes
    protected
  74. def <=(y: Short): Boolean

    Attributes
    protected
  75. def <=(y: Byte): Boolean

    Attributes
    protected
  76. def <=(y: RuntimeLong): Boolean

    Annotations
    @inline()
  77. def ==(y: Double): Boolean

    Attributes
    protected
  78. def ==(y: Float): Boolean

    Attributes
    protected
  79. def ==(y: Long): Boolean

    Attributes
    protected
  80. def ==(y: Int): Boolean

    Attributes
    protected
  81. def ==(y: Char): Boolean

    Attributes
    protected
  82. def ==(y: Short): Boolean

    Attributes
    protected
  83. def ==(y: Byte): Boolean

    Attributes
    protected
  84. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  85. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  86. def >(y: Double): Boolean

    Attributes
    protected
  87. def >(y: Float): Boolean

    Attributes
    protected
  88. def >(y: Long): Boolean

    Attributes
    protected
  89. def >(y: Int): Boolean

    Attributes
    protected
  90. def >(y: Char): Boolean

    Attributes
    protected
  91. def >(y: Short): Boolean

    Attributes
    protected
  92. def >(y: Byte): Boolean

    Attributes
    protected
  93. def >(y: RuntimeLong): Boolean

  94. def >=(y: Double): Boolean

    Attributes
    protected
  95. def >=(y: Float): Boolean

    Attributes
    protected
  96. def >=(y: Long): Boolean

    Attributes
    protected
  97. def >=(y: Int): Boolean

    Attributes
    protected
  98. def >=(y: Char): Boolean

    Attributes
    protected
  99. def >=(y: Short): Boolean

    Attributes
    protected
  100. def >=(y: Byte): Boolean

    Attributes
    protected
  101. def >=(y: RuntimeLong): Boolean

  102. def >>(y: Long): Long

    Attributes
    protected
  103. def >>(n_in: Int): RuntimeLong

    arithmetic right shift

  104. def >>>(y: Long): Long

    Attributes
    protected
  105. def >>>(n_in: Int): RuntimeLong

    logical right shift

  106. def ^(y: Long): Long

    Attributes
    protected
  107. def ^(y: Int): Long

    Attributes
    protected
  108. def ^(y: Char): Long

    Attributes
    protected
  109. def ^(y: Short): Long

    Attributes
    protected
  110. def ^(y: Byte): Long

    Attributes
    protected
  111. def ^(y: RuntimeLong): RuntimeLong

  112. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  113. def bitCount: Int

  114. def byteValue(): Byte

    Definition Classes
    RuntimeLong → Number
  115. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  116. def compareTo(that: java.lang.Long): Int

    Definition Classes
    RuntimeLong → Comparable
  117. def compareTo(that: RuntimeLong): Int

  118. def doubleValue(): Double

    Definition Classes
    RuntimeLong → Number
  119. def ensuring(cond: (RuntimeLong) ⇒ Boolean, msg: ⇒ Any): RuntimeLong

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

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

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

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  123. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  124. def equals(that: Any): Boolean

    Definition Classes
    RuntimeLong → AnyRef → Any
  125. def equals(y: RuntimeLong): Boolean

  126. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  127. def floatValue(): Float

    Definition Classes
    RuntimeLong → Number
  128. def formatted(fmtstr: String): String

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

    Definition Classes
    AnyRef → Any
  130. val h: Int

  131. def hashCode(): Int

    Definition Classes
    RuntimeLong → AnyRef → Any
  132. def intValue(): Int

    Definition Classes
    RuntimeLong → Number
  133. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  134. val l: Int

  135. def longValue(): Long

    Definition Classes
    RuntimeLong → Number
  136. val m: Int

  137. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  138. def notEquals(that: RuntimeLong): Boolean

  139. final def notify(): Unit

    Definition Classes
    AnyRef
  140. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  141. def numberOfLeadingZeros: Int

  142. def numberOfTrailingZeros: Int

  143. def shortValue(): Short

    Definition Classes
    RuntimeLong → Number
  144. def signum: RuntimeLong

  145. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  146. def toBinaryString: String

  147. def toByte: Byte

  148. def toChar: Char

  149. def toDouble: Double

  150. def toFloat: Float

  151. def toHexString: String

  152. def toInt: Int

  153. def toLong: Long

  154. def toOctalString: String

  155. def toShort: Short

  156. def toString(): String

    Definition Classes
    RuntimeLong → AnyRef → Any
  157. def unary_+: RuntimeLong

  158. def unary_-: RuntimeLong

  159. def unary_~: RuntimeLong

  160. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  161. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  162. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  163. def |(y: Long): Long

    Attributes
    protected
  164. def |(y: Int): Long

    Attributes
    protected
  165. def |(y: Char): Long

    Attributes
    protected
  166. def |(y: Short): Long

    Attributes
    protected
  167. def |(y: Byte): Long

    Attributes
    protected
  168. def |(y: RuntimeLong): RuntimeLong

  169. def [B](y: B): (RuntimeLong, B)

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

Shadowed Implicit Value Members

  1. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (runtimeLong: StringAdd).+(other)
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (runtimeLong: StringAdd).self
    Definition Classes
    StringAdd
  3. val self: Any

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (runtimeLong: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: RuntimeLong

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to ArrowAssoc[RuntimeLong] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (runtimeLong: ArrowAssoc[RuntimeLong]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: RuntimeLong

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (runtimeLong: Ensuring[RuntimeLong]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from Comparable[java.lang.Long]

Inherited from Number

Inherited from java.io.Serializable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from RuntimeLong to StringAdd

Inherited by implicit conversion any2stringfmt from RuntimeLong to StringFormat

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

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

Ungrouped