public enum UnitPosition extends Enum<UnitPosition>
Enum Constant and Description |
---|
AFTER
The currency will be displayed after the field value.
|
BEFORE
The currency will be displayed before the field value.
|
Modifier and Type | Method and Description |
---|---|
static UnitPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnitPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnitPosition BEFORE
public static final UnitPosition AFTER
public static UnitPosition[] values()
for (UnitPosition c : UnitPosition.values()) System.out.println(c);
public static UnitPosition 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 null