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

Deprecated Value Members

  1. 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