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