public static enum Convert.Unit extends Enum<Convert.Unit>
| Modifier and Type | Method and Description |
|---|---|
static Convert.Unit |
fromString(String name) |
BigDecimal |
getWeiFactor() |
String |
toString() |
static Convert.Unit |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Convert.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Convert.Unit Rau
public static final Convert.Unit KRau
public static final Convert.Unit MRau
public static final Convert.Unit GRau
public static final Convert.Unit Qev
public static final Convert.Unit Jing
public static final Convert.Unit Iotx
public static Convert.Unit[] values()
for (Convert.Unit c : Convert.Unit.values()) System.out.println(c);
public static Convert.Unit valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Convert.Unit fromString(String name)
public BigDecimal getWeiFactor()
public String toString()
toString in class Enum<Convert.Unit>Copyright © 2022 IoTeX Group. All rights reserved.