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. final def !=(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef → Any
  4. def %(y: RuntimeLong): RuntimeLong

  5. def &(y: RuntimeLong): RuntimeLong

  6. def *(y: RuntimeLong): RuntimeLong

  7. def +(y: RuntimeLong): RuntimeLong

  8. def +(y: String): String

  9. def -(y: RuntimeLong): RuntimeLong

    subtraction note: gwt implements this individually

  10. 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()
  11. def /(y: RuntimeLong): RuntimeLong

  12. def <(y: RuntimeLong): Boolean

    Annotations
    @inline()
  13. def <<(n_in: Int): RuntimeLong

  14. def <=(y: RuntimeLong): Boolean

    Annotations
    @inline()
  15. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  17. def >(y: RuntimeLong): Boolean

  18. def >=(y: RuntimeLong): Boolean

  19. def >>(n_in: Int): RuntimeLong

    arithmetic right shift

  20. def >>>(n_in: Int): RuntimeLong

    logical right shift

  21. def ^(y: RuntimeLong): RuntimeLong

  22. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  23. def bitCount: Int

  24. def byteValue(): Byte

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

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

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

  28. def doubleValue(): Double

    Definition Classes
    RuntimeLong → Number
  29. 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
  30. 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
  31. 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
  32. 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
  33. final def eq(arg0: AnyRef): Boolean

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

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

  36. def finalize(): Unit

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

    Definition Classes
    RuntimeLong → Number
  38. 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()
  39. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  40. val h: Int

  41. def hashCode(): Int

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

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

    Definition Classes
    Any
  44. val l: Int

  45. def longValue(): Long

    Definition Classes
    RuntimeLong → Number
  46. val m: Int

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

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

  49. final def notify(): Unit

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

    Definition Classes
    AnyRef
  51. def numberOfLeadingZeros: Int

  52. def numberOfTrailingZeros: Int

  53. def shortValue(): Short

    Definition Classes
    RuntimeLong → Number
  54. def signum: RuntimeLong

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

    Definition Classes
    AnyRef
  56. def toBinaryString: String

  57. def toByte: Byte

  58. def toChar: Char

  59. def toDouble: Double

  60. def toFloat: Float

  61. def toHexString: String

  62. def toInt: Int

  63. def toLong: Long

  64. def toOctalString: String

  65. def toShort: Short

  66. def toString(): String

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

  68. def unary_-: RuntimeLong

  69. def unary_~: RuntimeLong

  70. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. def |(y: RuntimeLong): RuntimeLong

  74. 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