Serializable
, Comparable<FormatBehavior>
public enum FormatBehavior extends Enum<FormatBehavior>
Enum Constant | Description |
---|---|
LOCALE_NEUTRAL |
Formatting occurs in a locale-neutral way.
|
LOCALE_SENSITIVE |
Formatting occurs in a locale-sensitive way.
|
Modifier and Type | Method | 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
Locale
public 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–2020 Units of Measurement project. All rights reserved.