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