public static enum NumberRangeFormatter.RangeIdentityResult extends Enum<NumberRangeFormatter.RangeIdentityResult>
NumberRangeFormatter
Enum Constant and Description |
---|
EQUAL_AFTER_ROUNDING
Used to indicate that the two numbers in the range were equal, but only after rounding rules were applied.
|
EQUAL_BEFORE_ROUNDING
Used to indicate that the two numbers in the range were equal, even before any rounding rules were applied.
|
NOT_EQUAL
Used to indicate that the two numbers in the range were not equal, even after rounding rules were applied.
|
Modifier and Type | Method and Description |
---|---|
static NumberRangeFormatter.RangeIdentityResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberRangeFormatter.RangeIdentityResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberRangeFormatter.RangeIdentityResult EQUAL_BEFORE_ROUNDING
NumberRangeFormatter
public static final NumberRangeFormatter.RangeIdentityResult EQUAL_AFTER_ROUNDING
NumberRangeFormatter
public static final NumberRangeFormatter.RangeIdentityResult NOT_EQUAL
NumberRangeFormatter
public static NumberRangeFormatter.RangeIdentityResult[] values()
for (NumberRangeFormatter.RangeIdentityResult c : NumberRangeFormatter.RangeIdentityResult.values()) System.out.println(c);
public static NumberRangeFormatter.RangeIdentityResult 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.