public static enum NumberFormat.Style extends Enum<NumberFormat.Style>
| Enum Constant and Description | 
|---|
| CURRENCYThe currency format for the current locale. | 
| DEFAULTThe default format for the annotated type: typically 'number' but possibly
 'currency' for a money type (e.g. | 
| NUMBERThe general-purpose number format for the current locale. | 
| PERCENTThe percent format for the current locale. | 
| Modifier and Type | Method and Description | 
|---|---|
| static NumberFormat.Style | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NumberFormat.Style[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NumberFormat.Style DEFAULT
javax.money.MonetaryAmount).public static final NumberFormat.Style NUMBER
public static final NumberFormat.Style PERCENT
public static final NumberFormat.Style CURRENCY
public static NumberFormat.Style[] values()
for (NumberFormat.Style c : NumberFormat.Style.values()) System.out.println(c);
public static NumberFormat.Style 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