public class EthValue extends Object implements Comparable<EthValue>
| Constructor and Description |
|---|
EthValue(BigInteger value) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(EthValue o) |
boolean |
equals(Object o) |
static EthValue |
ether(BigDecimal value) |
static EthValue |
ether(BigInteger value) |
static EthValue |
ether(Double value) |
static EthValue |
ether(long value) |
int |
hashCode() |
BigDecimal |
inEth() |
BigInteger |
inWei() |
boolean |
isEmpty() |
String |
toString() |
static EthValue |
wei(BigInteger value) |
static EthValue |
wei(int value) |
public EthValue(BigInteger value)
public static EthValue ether(BigInteger value)
public static EthValue ether(BigDecimal value)
public static EthValue ether(long value)
public static EthValue wei(int value)
public static EthValue wei(BigInteger value)
public BigInteger inWei()
public BigDecimal inEth()
public boolean isEmpty()
public int compareTo(EthValue o)
compareTo in interface Comparable<EthValue>Copyright © 2017. All rights reserved.