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