public static enum CompactDecimalFormat.CompactStyle extends Enum<CompactDecimalFormat.CompactStyle>
Enum Constant and Description |
---|
LONG
Longer version, like "1.2 trillion", if available.
|
SHORT
Short version, like "1.2T"
|
Modifier and Type | Method and Description |
---|---|
static CompactDecimalFormat.CompactStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompactDecimalFormat.CompactStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompactDecimalFormat.CompactStyle SHORT
public static final CompactDecimalFormat.CompactStyle LONG
public static CompactDecimalFormat.CompactStyle[] values()
for (CompactDecimalFormat.CompactStyle c : CompactDecimalFormat.CompactStyle.values()) System.out.println(c);
public static CompactDecimalFormat.CompactStyle 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.