scala.scalajs.runtime

RuntimeLong

Related Docs: object RuntimeLong | package runtime

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 StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  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: Any): Boolean

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

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

  4. def &(y: RuntimeLong): RuntimeLong

  5. def *(y: RuntimeLong): RuntimeLong

  6. def +(y: RuntimeLong): RuntimeLong

  7. def +(y: String): String

  8. def -(y: RuntimeLong): RuntimeLong

    subtraction note: gwt implements this individually

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

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

  11. def <(y: RuntimeLong): Boolean

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

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

    Annotations
    @inline()
  14. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def >(y: RuntimeLong): Boolean

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

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

    arithmetic right shift

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

    logical right shift

  19. def ^(y: RuntimeLong): RuntimeLong

  20. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  21. def bitCount: Int

  22. def byteValue(): Byte

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

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

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

  26. def doubleValue(): Double

    Definition Classes
    RuntimeLong → Number
  27. 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 Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  28. def ensuring(cond: (RuntimeLong) ⇒ Boolean): RuntimeLong

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to Ensuring[RuntimeLong] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  29. 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 Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  30. def ensuring(cond: Boolean): RuntimeLong

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

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

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

  34. def finalize(): Unit

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

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

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

    Definition Classes
    AnyRef → Any
  38. val h: Int

  39. def hashCode(): Int

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

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

    Definition Classes
    Any
  42. val l: Int

  43. def longValue(): Long

    Definition Classes
    RuntimeLong → Number
  44. val m: Int

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

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

  47. final def notify(): Unit

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

    Definition Classes
    AnyRef
  49. def numberOfLeadingZeros: Int

  50. def numberOfTrailingZeros: Int

  51. def shortValue(): Short

    Definition Classes
    RuntimeLong → Number
  52. def signum: RuntimeLong

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

    Definition Classes
    AnyRef
  54. def toBinaryString: String

  55. def toByte: Byte

  56. def toChar: Char

  57. def toDouble: Double

  58. def toFloat: Float

  59. def toHexString: String

  60. def toInt: Int

  61. def toLong: Long

  62. def toOctalString: String

  63. def toShort: Short

  64. def toString(): String

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

  66. def unary_-: RuntimeLong

  67. def unary_~: RuntimeLong

  68. final def wait(): Unit

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

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

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

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

    Implicit information
    This member is added by an implicit conversion from RuntimeLong to ArrowAssoc[RuntimeLong] performed by method ArrowAssoc 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 any2stringadd[RuntimeLong] 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: any2stringadd[RuntimeLong]).+(other)
    Definition Classes
    any2stringadd

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 any2stringadd[RuntimeLong]

Inherited by implicit conversion StringFormat from RuntimeLong to StringFormat[RuntimeLong]

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

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

Ungrouped