Package | Description |
---|---|
org.bitcoinj.utils |
Formatting monetary amounts, representing exchange rates, a program for loading Bitcoin Core saved block files,
a class to control how bitcoinj uses threads and misc other utility classes that don't fit anywhere else.
|
Modifier and Type | Field and Description |
---|---|
Fiat |
ExchangeRate.fiat |
Modifier and Type | Method and Description |
---|---|
Fiat |
Fiat.add(Fiat value) |
Fiat |
ExchangeRate.coinToFiat(Coin convertCoin) |
Fiat |
Fiat.divide(long divisor) |
Fiat[] |
Fiat.divideAndRemainder(long divisor) |
Fiat |
Fiat.multiply(long factor) |
Fiat |
Fiat.negate() |
Fiat |
MonetaryFormat.parseFiat(String currencyCode,
String str)
Parse a human readable fiat value to a
org.bitcoinj.core.Fiat instance. |
static Fiat |
Fiat.parseFiat(String currencyCode,
String str)
Parses an amount expressed in the way humans are used to.
|
Fiat |
Fiat.subtract(Fiat value) |
static Fiat |
Fiat.valueOf(String currencyCode,
long value) |
Modifier and Type | Method and Description |
---|---|
Fiat |
Fiat.add(Fiat value) |
int |
Fiat.compareTo(Fiat other) |
long |
Fiat.divide(Fiat divisor) |
Coin |
ExchangeRate.fiatToCoin(Fiat convertFiat) |
boolean |
Fiat.isGreaterThan(Fiat other)
Returns true if the monetary value represented by this instance is greater than that of the given other Coin,
otherwise false.
|
boolean |
Fiat.isLessThan(Fiat other)
Returns true if the monetary value represented by this instance is less than that of the given other Coin,
otherwise false.
|
Fiat |
Fiat.subtract(Fiat value) |
Constructor and Description |
---|
ExchangeRate(Coin coin,
Fiat fiat) |
ExchangeRate(Fiat fiat) |
Copyright © 2014. All rights reserved.