public enum OptionOrder extends Enum<OptionOrder>
Enum Constant and Description |
---|
DEFINITION
display the options in the order that the reflection API returns them
|
LEXICOGRAPHIC
display the options in alphabetical order
|
Modifier and Type | Method and Description |
---|---|
static OptionOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionOrder LEXICOGRAPHIC
public static final OptionOrder DEFINITION
public static OptionOrder[] values()
for (OptionOrder c : OptionOrder.values()) System.out.println(c);
public static OptionOrder 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 nullCopyright © 2006-2013 lexicalscope. All Rights Reserved.