public static enum FormatUtils.Precision extends java.lang.Enum<FormatUtils.Precision>
| Enum Constant and Description |
|---|
NONE |
ONE_DIGIT |
THREE_DIGIT |
TWO_DIGIT |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFormat() |
static FormatUtils.Precision |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormatUtils.Precision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatUtils.Precision ONE_DIGIT
public static final FormatUtils.Precision TWO_DIGIT
public static final FormatUtils.Precision THREE_DIGIT
public static final FormatUtils.Precision NONE
public static FormatUtils.Precision[] values()
for (FormatUtils.Precision c : FormatUtils.Precision.values()) System.out.println(c);
public static FormatUtils.Precision 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 nullpublic java.lang.String getFormat()