public enum FormatBehavior extends Enum<FormatBehavior>
| Enum Constant and Description |
|---|
LOCALE_NEUTRAL
Formatting occurs in a locale-neutral way.
|
LOCALE_SENSITIVE
Formatting occurs in a locale-sensitive way.
|
| Modifier and Type | Method and Description |
|---|---|
static FormatBehavior |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatBehavior[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatBehavior LOCALE_NEUTRAL
public static final FormatBehavior LOCALE_SENSITIVE
Localepublic static FormatBehavior[] values()
for (FormatBehavior c : FormatBehavior.values()) System.out.println(c);
public static FormatBehavior 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 © 2005–2021 Units of Measurement project. All rights reserved.