public enum TickPriority extends Enum<TickPriority>
| Enum Constant and Description |
|---|
EXTREMELY_HIGH |
EXTREMELY_LOW |
HIGH |
LOW |
NORMAL |
VERY_HIGH |
VERY_LOW |
| Modifier and Type | Field and Description |
|---|---|
private int |
index |
| Modifier and Type | Method and Description |
|---|---|
static TickPriority |
byIndex(int index) |
int |
getIndex() |
static TickPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TickPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TickPriority EXTREMELY_HIGH
public static final TickPriority VERY_HIGH
public static final TickPriority HIGH
public static final TickPriority NORMAL
public static final TickPriority LOW
public static final TickPriority VERY_LOW
public static final TickPriority EXTREMELY_LOW
public static TickPriority[] values()
for (TickPriority c : TickPriority.values()) System.out.println(c);
public static TickPriority 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 TickPriority byIndex(int index)
public int getIndex()