public static enum Convert.Unit extends java.lang.Enum<Convert.Unit>
| Modifier and Type | Method and Description |
|---|---|
static Convert.Unit |
fromString(java.lang.String name) |
java.math.BigDecimal |
getSunFactor() |
java.lang.String |
toString() |
static Convert.Unit |
valueOf(java.lang.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 SUN
public static final Convert.Unit TRX
public static Convert.Unit[] values()
for (Convert.Unit c : Convert.Unit.values()) System.out.println(c);
public static Convert.Unit valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.math.BigDecimal getSunFactor()
public java.lang.String toString()
toString in class java.lang.Enum<Convert.Unit>public static Convert.Unit fromString(java.lang.String name)