Packages

sealed abstract class CurrencyUnit extends NetworkElement with BasicArithmetic[CurrencyUnit] with Numeric[CurrencyUnit]

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CurrencyUnit
  2. Numeric
  3. Ordering
  4. PartialOrdering
  5. Equiv
  6. Serializable
  7. Comparator
  8. BasicArithmetic
  9. NetworkElement
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type A
  2. class NumericOps extends AnyRef
    Definition Classes
    Numeric
  3. class OrderingOps extends AnyRef
    Definition Classes
    Ordering

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): Boolean
  9. def <=(c: CurrencyUnit): Boolean
  10. def ==(c: CurrencyUnit): Boolean
  11. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def >(c: CurrencyUnit): Boolean
  13. def >=(c: CurrencyUnit): Boolean
  14. def abs(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    Numeric
  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 bytes: ByteVector

    The byte representation of the NetworkElement

    The byte representation of the NetworkElement

    Definition Classes
    CurrencyUnitNetworkElement
  18. def bytesLE: ByteVector

    The byte representation of the NetworkElement in little endian

    The byte representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  20. def compare(c: CurrencyUnit): Int
  21. def compare(x: CurrencyUnit, y: CurrencyUnit): Int
    Definition Classes
    CurrencyUnit → Ordering → Comparator
  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  24. def equiv(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering → Equiv
  25. def fromInt(x: Int): CurrencyUnit
    Definition Classes
    CurrencyUnit → Numeric
  26. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  27. def gt(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  28. def gteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  29. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. def hex: String

    The hexadecimal representation of the NetworkElement

    The hexadecimal representation of the NetworkElement

    Definition Classes
    NetworkElement
  31. def hexLE: String

    The hexadecimal representation of the NetworkElement in little endian

    The hexadecimal representation of the NetworkElement in little endian

    Definition Classes
    NetworkElement
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isReverseOf(other: Ordering[_]): Boolean
    Definition Classes
    Ordering
  34. def logger: Logger
    Definition Classes
    NetworkElement
  35. def lt(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  36. def lteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  37. def max[U <: CurrencyUnit](x: U, y: U): U
    Definition Classes
    Ordering
  38. def min[U <: CurrencyUnit](x: U, y: U): U
    Definition Classes
    Ordering
  39. def minus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnit → Numeric
  40. implicit def mkNumericOps(lhs: CurrencyUnit): NumericOps
    Definition Classes
    Numeric
  41. implicit def mkOrderingOps(lhs: CurrencyUnit): OrderingOps
    Definition Classes
    Ordering
  42. 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
  43. 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
  44. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  45. def negate(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnit → Numeric
  46. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  47. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  48. def on[U](f: (U) => CurrencyUnit): Ordering[U]
    Definition Classes
    Ordering
  49. def one: CurrencyUnit
    Definition Classes
    Numeric
  50. def orElse(other: Ordering[CurrencyUnit]): Ordering[CurrencyUnit]
    Definition Classes
    Ordering
  51. def orElseBy[S](f: (CurrencyUnit) => S)(implicit ord: Ordering[S]): Ordering[CurrencyUnit]
    Definition Classes
    Ordering
  52. def parseString(str: String): Option[CurrencyUnit]
    Definition Classes
    CurrencyUnit → Numeric
  53. def plus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnit → Numeric
  54. def reverse: Ordering[CurrencyUnit]
    Definition Classes
    Ordering → PartialOrdering
  55. def reversed(): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  56. def sign(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    Numeric
  57. def size: Long

    The size of the NetworkElement in bytes.

    The size of the NetworkElement in bytes.

    Definition Classes
    NetworkElement
  58. 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
  59. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  60. def thenComparing[U <: Comparable[_ >: U <: AnyRef]](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  61. def thenComparing[U <: AnyRef](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U], arg1: Comparator[_ >: U <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  62. def thenComparing(arg0: Comparator[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  63. def thenComparingDouble(arg0: ToDoubleFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  64. def thenComparingInt(arg0: ToIntFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  65. def thenComparingLong(arg0: ToLongFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  66. def times(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnit → Numeric
  67. def toDouble(x: CurrencyUnit): Double
    Definition Classes
    CurrencyUnit → Numeric
  68. def toFloat(x: CurrencyUnit): Float
    Definition Classes
    CurrencyUnit → Numeric
  69. def toInt(x: CurrencyUnit): Int
    Definition Classes
    CurrencyUnit → Numeric
  70. def toLong(x: CurrencyUnit): Long
    Definition Classes
    CurrencyUnit → Numeric
  71. def toString(): String
    Definition Classes
    AnyRef → Any
  72. def tryCompare(x: CurrencyUnit, y: CurrencyUnit): Some[Int]
    Definition Classes
    Ordering → PartialOrdering
  73. def unary_-: CurrencyUnit
  74. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  75. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  76. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. def zero: CurrencyUnit
    Definition Classes
    Numeric

Deprecated Value Members

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

    (Since version ) see corresponding Javadoc for more information.

  2. def signum(x: CurrencyUnit): Int
    Definition Classes
    Numeric
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) use sign method instead

Inherited from Numeric[CurrencyUnit]

Inherited from Ordering[CurrencyUnit]

Inherited from Equiv[CurrencyUnit]

Inherited from Serializable

Inherited from Comparator[CurrencyUnit]

Inherited from NetworkElement

Inherited from AnyRef

Inherited from Any

Ungrouped