public static enum Enum.Field extends Enum<Enum.Field>
| Enum Constant and Description |
|---|
DISPLAY_VALUE
The display value of the field.
|
VALUE
The value of the field.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Enum.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Enum.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Enum.Field VALUE
public static final Enum.Field DISPLAY_VALUE
public static Enum.Field[] values()
for (Enum.Field c : Enum.Field.values()) System.out.println(c);
public static Enum.Field 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 String toString()
toString in class Enum<Enum.Field>Enum.toString()Copyright © 2007-2012. All Rights Reserved.