Packages

sealed abstract class CurrencyUnit extends NetworkElement with BasicArithmetic[CurrencyUnit]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrencyUnit
  2. BasicArithmetic
  3. NetworkElement
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type A

Abstract Value Members

  1. abstract def satoshis: Satoshis
  2. abstract def toBigDecimal: BigDecimal
  3. abstract def underlying: A
    Attributes
    protected

Concrete Value Members

  1. def !=(c: CurrencyUnit): Boolean
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. def *(c: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnitBasicArithmetic
  5. def *(factor: BigInt): CurrencyUnit
    Definition Classes
    CurrencyUnitBasicArithmetic
  6. def +(c: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnitBasicArithmetic
  7. def -(c: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnitBasicArithmetic
  8. def /(c: CurrencyUnit): CurrencyUnit
  9. def <(c: CurrencyUnit): Boolean
  10. def <=(c: CurrencyUnit): Boolean
  11. def ==(c: CurrencyUnit): Boolean
  12. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def >(c: CurrencyUnit): Boolean
  14. def >=(c: CurrencyUnit): Boolean
  15. def addSafe(n: CurrencyUnit): Try[CurrencyUnit]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the + operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. def byteSize: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  18. def bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    CurrencyUnitNetworkElement
  19. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  20. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  21. def compare(c: CurrencyUnit): Int
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  27. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def multiplySafe(factor: CurrencyUnit): Try[CurrencyUnit]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the * operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  30. def multiplySafe(factor: BigInt): Try[CurrencyUnit]

    Some classes have restrictions on upper bounds for it's underlying value.

    Some classes have restrictions on upper bounds for it's underlying value. This might cause the * operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  34. def parseString(str: String): Option[CurrencyUnit]
  35. def subtractSafe(n: CurrencyUnit): Try[CurrencyUnit]

    Some classes have restrictions on lower bounds for it's underlying value.

    Some classes have restrictions on lower bounds for it's underlying value. This might cause the - operator to throw. This method wraps it in a Try block.

    Definition Classes
    BasicArithmetic
  36. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def unary_-: CurrencyUnit
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped