public enum DisplayUnit extends java.lang.Enum<DisplayUnit>
| Enum Constant and Description |
|---|
Custom
Specifies a custom unit.
|
HundredMillions
Specifies hundreds of millions.
|
Hundreds
Specifies hundreds.
|
HundredThousands
Specifies hundreds of thousands.
|
MillionMillions
Specifies millions of millions.
|
Millions
Specifies millions.
|
None
Specifies no units.
|
TenMillions
Specifies tens of millions.
|
TenThousands
Specifies tens of thousands.
|
ThousandMillions
Specifies thousands of millions.
|
Thousands
Specifies thousands.
|
| Modifier and Type | Method and Description |
|---|---|
static DisplayUnit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisplayUnit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisplayUnit None
public static final DisplayUnit Custom
public static final DisplayUnit MillionMillions
public static final DisplayUnit ThousandMillions
public static final DisplayUnit HundredMillions
public static final DisplayUnit TenMillions
public static final DisplayUnit Millions
public static final DisplayUnit HundredThousands
public static final DisplayUnit TenThousands
public static final DisplayUnit Thousands
public static final DisplayUnit Hundreds
public static DisplayUnit[] values()
for (DisplayUnit c : DisplayUnit.values()) System.out.println(c);
public static DisplayUnit valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null