public enum PercentDone extends java.lang.Enum<PercentDone>
Modifier and Type | Method and Description |
---|---|
int |
getPercent() |
static PercentDone |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PercentDone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PercentDone _0
public static final PercentDone _05
public static final PercentDone _20
public static final PercentDone _50
public static final PercentDone _70
public static final PercentDone _100
public static PercentDone[] values()
for (PercentDone c : PercentDone.values()) System.out.println(c);
public static PercentDone 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 int getPercent()