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