|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Price.P_Units>
com.azalient.apo.basics.Price.P_Units
public static enum Price.P_Units
The preferred way of displaying prices, either in the prime (large) unit, or in the (smaller 1/100) centile unit
| Enum Constant Summary | |
|---|---|
CENTILE_UNIT
The small currency unit: cents, pence, etc. |
|
PRIME_UNIT
The prime currency unit: Dollars, Pounds, Euros, etc |
|
| Method Summary | |
|---|---|
static Price.P_Units |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Price.P_Units[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Price.P_Units PRIME_UNIT
public static final Price.P_Units CENTILE_UNIT
| Method Detail |
|---|
public static Price.P_Units[] values()
for (Price.P_Units c : Price.P_Units.values()) System.out.println(c);
public static Price.P_Units valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||