Packages

object CurrencyUnits extends Numeric[CurrencyUnit]

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

Type Members

  1. class NumericOps extends AnyRef
    Definition Classes
    Numeric
  2. class OrderingOps extends AnyRef
    Definition Classes
    Ordering

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def abs(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    Numeric
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val btcToSatoshiScalar: Long

    The number you need to multiply BTC by to get it's satoshis

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. def compare(x: CurrencyUnit, y: CurrencyUnit): Int
    Definition Classes
    CurrencyUnits → Ordering → Comparator
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. def equiv(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering → Equiv
  12. def fromInt(x: Int): CurrencyUnit
    Definition Classes
    CurrencyUnits → Numeric
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. def gt(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  15. def gteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isReverseOf(other: Ordering[_]): Boolean
    Definition Classes
    Ordering
  19. def lt(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  20. def lteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
    Definition Classes
    Ordering → PartialOrdering
  21. def max[U <: CurrencyUnit](x: U, y: U): U
    Definition Classes
    Ordering
  22. def min[U <: CurrencyUnit](x: U, y: U): U
    Definition Classes
    Ordering
  23. def minus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnits → Numeric
  24. implicit def mkNumericOps(lhs: CurrencyUnit): NumericOps
    Definition Classes
    Numeric
  25. implicit def mkOrderingOps(lhs: CurrencyUnit): OrderingOps
    Definition Classes
    Ordering
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. def negate(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnits → Numeric
  28. val negativeSatoshi: Satoshis
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. def on[U](f: (U) => CurrencyUnit): Ordering[U]
    Definition Classes
    Ordering
  32. def one: CurrencyUnit
    Definition Classes
    Numeric
  33. val oneBTC: CurrencyUnit
  34. val oneMBTC: CurrencyUnit
  35. def orElse(other: Ordering[CurrencyUnit]): Ordering[CurrencyUnit]
    Definition Classes
    Ordering
  36. def orElseBy[S](f: (CurrencyUnit) => S)(implicit ord: Ordering[S]): Ordering[CurrencyUnit]
    Definition Classes
    Ordering
  37. def parseString(str: String): Option[CurrencyUnit]
    Definition Classes
    CurrencyUnits → Numeric
  38. def plus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnits → Numeric
  39. def reverse: Ordering[CurrencyUnit]
    Definition Classes
    Ordering → PartialOrdering
  40. def reversed(): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  41. val satoshisToBTCScalar: BigDecimal
  42. def sign(x: CurrencyUnit): CurrencyUnit
    Definition Classes
    Numeric
  43. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  44. def thenComparing[U <: Comparable[_ >: U <: AnyRef]](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  45. def thenComparing[U <: AnyRef](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U], arg1: Comparator[_ >: U <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  46. def thenComparing(arg0: Comparator[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  47. def thenComparingDouble(arg0: ToDoubleFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  48. def thenComparingInt(arg0: ToIntFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  49. def thenComparingLong(arg0: ToLongFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
    Definition Classes
    Comparator
  50. def times(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
    Definition Classes
    CurrencyUnits → Numeric
  51. def toDouble(x: CurrencyUnit): Double
    Definition Classes
    CurrencyUnits → Numeric
  52. def toFloat(x: CurrencyUnit): Float
    Definition Classes
    CurrencyUnits → Numeric
  53. def toInt(x: CurrencyUnit): Int
    Definition Classes
    CurrencyUnits → Numeric
  54. def toLong(x: CurrencyUnit): Long
    Definition Classes
    CurrencyUnits → Numeric
  55. def toSatoshis(unit: CurrencyUnit): Satoshis
  56. def toString(): String
    Definition Classes
    AnyRef → Any
  57. def tryCompare(x: CurrencyUnit, y: CurrencyUnit): Some[Int]
    Definition Classes
    Ordering → PartialOrdering
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  61. val zero: CurrencyUnit
    Definition Classes
    CurrencyUnits → 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 AnyRef

Inherited from Any

Ungrouped