public static enum NumberRangeFormatter.RangeIdentityFallback extends Enum<NumberRangeFormatter.RangeIdentityFallback>
NumberRangeFormatter
Enum Constant and Description |
---|
APPROXIMATELY
Show the number using a locale-sensitive approximation pattern.
|
APPROXIMATELY_OR_SINGLE_VALUE
Show the number using a locale-sensitive approximation pattern.
|
RANGE
Show the number as the range of two equal values.
|
SINGLE_VALUE
Show the number as a single value rather than a range.
|
Modifier and Type | Method and Description |
---|---|
static NumberRangeFormatter.RangeIdentityFallback |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberRangeFormatter.RangeIdentityFallback[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberRangeFormatter.RangeIdentityFallback SINGLE_VALUE
NumberRangeFormatter
public static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY_OR_SINGLE_VALUE
NumberRangeFormatter
public static final NumberRangeFormatter.RangeIdentityFallback APPROXIMATELY
NumberRangeFormatter
public static final NumberRangeFormatter.RangeIdentityFallback RANGE
NumberRangeFormatter
public static NumberRangeFormatter.RangeIdentityFallback[] values()
for (NumberRangeFormatter.RangeIdentityFallback c : NumberRangeFormatter.RangeIdentityFallback.values()) System.out.println(c);
public static NumberRangeFormatter.RangeIdentityFallback 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.