public enum TickPriority extends java.lang.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 |
priority |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
static TickPriority |
getPriority(int priority) |
static TickPriority |
valueOf(java.lang.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(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 static TickPriority getPriority(int priority)
public int getPriority()