public static enum DecimalOptionFieldAdapter.OutputStyle extends Enum<DecimalOptionFieldAdapter.OutputStyle>
DecimalOption
.Enum Constant and Description |
---|
ENGINEERING
Output with engineering notation.
|
PLAIN
Output without exponential notation.
|
SCIENTIFIC
Output with scientific notation.
|
Modifier and Type | Method and Description |
---|---|
static DecimalOptionFieldAdapter.OutputStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DecimalOptionFieldAdapter.OutputStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecimalOptionFieldAdapter.OutputStyle PLAIN
BigDecimal.toPlainString()
public static final DecimalOptionFieldAdapter.OutputStyle SCIENTIFIC
BigDecimal.toString()
public static final DecimalOptionFieldAdapter.OutputStyle ENGINEERING
BigDecimal.toEngineeringString()
public static DecimalOptionFieldAdapter.OutputStyle[] values()
for (DecimalOptionFieldAdapter.OutputStyle c : DecimalOptionFieldAdapter.OutputStyle.values()) System.out.println(c);
public static DecimalOptionFieldAdapter.OutputStyle 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 © 2011–2019 Asakusa Framework Team. All rights reserved.