public static enum SimpleFormat.BigDecimalLayoutForm extends Enum<SimpleFormat.BigDecimalLayoutForm>
| Enum Constant and Description |
|---|
DECIMAL_FLOAT
Use normal decimal/float style for BigDecimals.
|
SCIENTIFIC
Use scientific style for BigDecimals.
|
| Modifier and Type | Method and Description |
|---|---|
static SimpleFormat.BigDecimalLayoutForm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleFormat.BigDecimalLayoutForm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleFormat.BigDecimalLayoutForm SCIENTIFIC
public static final SimpleFormat.BigDecimalLayoutForm DECIMAL_FLOAT
public static SimpleFormat.BigDecimalLayoutForm[] values()
for (SimpleFormat.BigDecimalLayoutForm c : SimpleFormat.BigDecimalLayoutForm.values()) System.out.println(c);
public static SimpleFormat.BigDecimalLayoutForm 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 nullCopyright © 2009-2015 Google. All Rights Reserved.