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