object CurrencyUnits extends Numeric[CurrencyUnit]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- CurrencyUnits
- Numeric
- Ordering
- PartialOrdering
- Equiv
- Serializable
- Comparator
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def abs(x: CurrencyUnit): CurrencyUnit
- Definition Classes
- Numeric
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val btcToSatoshiScalar: Long
The number you need to multiply BTC by to get it's satoshis
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def compare(x: CurrencyUnit, y: CurrencyUnit): Int
- Definition Classes
- CurrencyUnits → Ordering → Comparator
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def equiv(x: CurrencyUnit, y: CurrencyUnit): Boolean
- Definition Classes
- Ordering → PartialOrdering → Equiv
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fromInt(x: Int): CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
- def fromLong(x: Long): CurrencyUnit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def gt(x: CurrencyUnit, y: CurrencyUnit): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def gteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isReverseOf(other: Ordering[_]): Boolean
- Definition Classes
- Ordering
- def lt(x: CurrencyUnit, y: CurrencyUnit): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def lteq(x: CurrencyUnit, y: CurrencyUnit): Boolean
- Definition Classes
- Ordering → PartialOrdering
- def max[U <: CurrencyUnit](x: U, y: U): U
- Definition Classes
- Ordering
- def min[U <: CurrencyUnit](x: U, y: U): U
- Definition Classes
- Ordering
- def minus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
- implicit def mkNumericOps(lhs: CurrencyUnit): NumericOps
- Definition Classes
- Numeric
- implicit def mkOrderingOps(lhs: CurrencyUnit): OrderingOps
- Definition Classes
- Ordering
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate(x: CurrencyUnit): CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
- val negativeSatoshi: Satoshis
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def on[U](f: (U) => CurrencyUnit): Ordering[U]
- Definition Classes
- Ordering
- def one: CurrencyUnit
- Definition Classes
- Numeric
- val oneBTC: CurrencyUnit
- val oneMBTC: CurrencyUnit
- def orElse(other: Ordering[CurrencyUnit]): Ordering[CurrencyUnit]
- Definition Classes
- Ordering
- def orElseBy[S](f: (CurrencyUnit) => S)(implicit ord: Ordering[S]): Ordering[CurrencyUnit]
- Definition Classes
- Ordering
- def parseString(str: String): Option[CurrencyUnit]
- Definition Classes
- CurrencyUnits → Numeric
- def plus(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
- def reverse: Ordering[CurrencyUnit]
- Definition Classes
- Ordering → PartialOrdering
- def reversed(): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- val satoshisToBTCScalar: BigDecimal
- def sign(x: CurrencyUnit): CurrencyUnit
- Definition Classes
- Numeric
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def thenComparing[U <: Comparable[_ >: U <: AnyRef]](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def thenComparing[U <: AnyRef](arg0: Function[_ >: CurrencyUnit <: AnyRef, _ <: U], arg1: Comparator[_ >: U <: AnyRef]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def thenComparing(arg0: Comparator[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def thenComparingDouble(arg0: ToDoubleFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def thenComparingInt(arg0: ToIntFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def thenComparingLong(arg0: ToLongFunction[_ >: CurrencyUnit <: AnyRef]): Comparator[CurrencyUnit]
- Definition Classes
- Comparator
- def times(x: CurrencyUnit, y: CurrencyUnit): CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
- def toDouble(x: CurrencyUnit): Double
- Definition Classes
- CurrencyUnits → Numeric
- def toFloat(x: CurrencyUnit): Float
- Definition Classes
- CurrencyUnits → Numeric
- def toInt(x: CurrencyUnit): Int
- Definition Classes
- CurrencyUnits → Numeric
- def toLong(x: CurrencyUnit): Long
- Definition Classes
- CurrencyUnits → Numeric
- def toSatoshis(unit: CurrencyUnit): Satoshis
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tryCompare(x: CurrencyUnit, y: CurrencyUnit): Some[Int]
- Definition Classes
- Ordering → PartialOrdering
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val zero: CurrencyUnit
- Definition Classes
- CurrencyUnits → Numeric
Deprecated Value Members
- def signum(x: CurrencyUnit): Int
- Definition Classes
- Numeric
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) use
sign
method instead