public static enum NumberFormatter.DecimalSeparatorDisplay extends Enum<NumberFormatter.DecimalSeparatorDisplay>
NumberFormatter
Enum Constant and Description |
---|
ALWAYS
Always show the decimal separator, even if there are no digits to display after the separator.
|
AUTO
Show the decimal separator when there are one or more digits to display after the separator,
and do not show it otherwise.
|
Modifier and Type | Method and Description |
---|---|
static NumberFormatter.DecimalSeparatorDisplay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberFormatter.DecimalSeparatorDisplay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberFormatter.DecimalSeparatorDisplay AUTO
NumberFormatter
public static final NumberFormatter.DecimalSeparatorDisplay ALWAYS
NumberFormatter
public static NumberFormatter.DecimalSeparatorDisplay[] values()
for (NumberFormatter.DecimalSeparatorDisplay c : NumberFormatter.DecimalSeparatorDisplay.values()) System.out.println(c);
public static NumberFormatter.DecimalSeparatorDisplay 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 © 2016 Unicode, Inc. and others.