public class Issue extends Object implements Comparable<Issue>
| 限定符和类型 | 方法和说明 |
|---|---|
Amount |
amount(BigDecimal value) |
Amount |
amount(Number value) |
int |
compareTo(Issue o) |
Currency |
currency() |
static Issue |
from160s(Hash160 currency,
Hash160 issuer)
See
Field.TakerGetsCurrency
See Field.TakerGetsIssuer
TODO: better handling of Taker(Gets|Pays)(Issuer|Curency)
maybe special subclasses of AccountID / Currency
respectively? |
static Issue |
fromString(String pair) |
boolean |
isNative() |
AccountID |
issuer() |
Amount |
roundedAmount(BigDecimal amount) |
org.json.JSONObject |
toJSON() |
String |
toString() |
public static final Issue ZXC
public static Issue from160s(Hash160 currency, Hash160 issuer)
Field.TakerGetsCurrency
See Field.TakerGetsIssuer
TODO: better handling of Taker(Gets|Pays)(Issuer|Curency)
maybe special subclasses of AccountID / Currency
respectively?currency - currency.issuer - Issuer.public Currency currency()
public AccountID issuer()
public org.json.JSONObject toJSON()
public Amount amount(BigDecimal value)
public boolean isNative()
public int compareTo(Issue o)
compareTo 在接口中 Comparable<Issue>public Amount roundedAmount(BigDecimal amount)
Copyright © 2021. All rights reserved.