public static enum Units.Plain extends Enum<Units.Plain>
Modifier and Type | Method and Description |
---|---|
String |
format(long number) |
static Units.Plain |
of(long number) |
static Units.Plain |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Units.Plain[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Units.Plain BASE
public static final Units.Plain THOUSANDS
public static final Units.Plain MILLIONS
public static Units.Plain[] values()
for (Units.Plain c : Units.Plain.values()) System.out.println(c);
public static Units.Plain 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 nullpublic static Units.Plain of(long number)
public String format(long number)