sealed abstract class ScriptNumber extends ScriptConstant with Ordered[ScriptNumber]
- Alphabetic
- By Inheritance
- ScriptNumber
- Ordered
- Comparable
- ScriptConstant
- ScriptToken
- NetworkElement
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def bytes: ByteVector
The byte representation of this ScriptToken.
The byte representation of this ScriptToken.
- Definition Classes
- ScriptToken → NetworkElement
- abstract val underlying: Long
The underlying number of the ScriptNumber.
The underlying number of the ScriptNumber.
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def &(that: Int64): ScriptNumber
- def &(that: ScriptNumber): ScriptNumber
- def *(that: ScriptNumber): ScriptNumber
- def +(that: ScriptNumber): ScriptNumber
- def -(that: ScriptNumber): ScriptNumber
- def <(that: Int64): Boolean
- def <(that: ScriptNumber): Boolean
- Definition Classes
- Ordered
- def <=(that: Int64): Boolean
- def <=(that: ScriptNumber): Boolean
- Definition Classes
- Ordered
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >(that: Int64): Boolean
- def >(that: ScriptNumber): Boolean
- Definition Classes
- Ordered
- def >=(that: Int64): Boolean
- def >=(that: ScriptNumber): Boolean
- Definition Classes
- Ordered
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def byteSize: Long
The size of the NetworkElement in bytes.
The size of the NetworkElement in bytes.
- Definition Classes
- NetworkElement
- def bytesLE: ByteVector
The byte representation of the NetworkElement in little endian
The byte representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(that: ScriptNumber): Int
- Definition Classes
- ScriptNumber → Ordered
- def compareTo(that: ScriptNumber): Int
- Definition Classes
- Ordered → Comparable
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hex: String
The hexadecimal representation of the NetworkElement
The hexadecimal representation of the NetworkElement
- Definition Classes
- NetworkElement
- def hexLE: String
The hexadecimal representation of the NetworkElement in little endian
The hexadecimal representation of the NetworkElement in little endian
- Definition Classes
- NetworkElement
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isShortestEncoding: Boolean
Returns if the ScriptConstant is encoded in the shortest possible way.
Returns if the ScriptConstant is encoded in the shortest possible way.
- Definition Classes
- ScriptConstant
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def numEqual(that: ScriptNumber): Boolean
This equality just checks that the underlying scala numbers are equivalent, NOT if the numbers are bitwise equivalent in Script.
This equality just checks that the underlying scala numbers are equivalent, NOT if the numbers are bitwise equivalent in Script. For instance ScriptNumber(0x01).numEqual(ScriptNumber(0x00000000001)) == true but (ScriptNumber(0x01) == (ScriptNumber(0x00000000001))) == false.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toInt: Int
- def toLong: Long
The conversion from the byte representation of a ScriptToken to a number.
The conversion from the byte representation of a ScriptToken to a number.
- Definition Classes
- ScriptNumber → ScriptToken
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unary_-: ScriptNumber
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def |(that: ScriptNumber): ScriptNumber