public static enum AergoSpec.Unit extends java.lang.Enum<AergoSpec.Unit>
Modifier and Type | Field and Description |
---|---|
protected java.math.BigDecimal |
minimum |
protected java.lang.String |
name |
protected java.math.BigDecimal |
ratio |
Modifier and Type | Method and Description |
---|---|
static AergoSpec.Unit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AergoSpec.Unit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AergoSpec.Unit AER
public static final AergoSpec.Unit GAER
public static final AergoSpec.Unit AERGO
protected final java.lang.String name
protected final java.math.BigDecimal minimum
protected final java.math.BigDecimal ratio
public static AergoSpec.Unit[] values()
for (AergoSpec.Unit c : AergoSpec.Unit.values()) System.out.println(c);
public static AergoSpec.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 null