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