public static enum CommandLineOption.InputOutput extends Enum<CommandLineOption.InputOutput>
Modifier and Type | Method and Description |
---|---|
static CommandLineOption.InputOutput |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineOption.InputOutput[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandLineOption.InputOutput INPUT
public static final CommandLineOption.InputOutput OUTPUT
public static final CommandLineOption.InputOutput BOTH
public static CommandLineOption.InputOutput[] values()
for (CommandLineOption.InputOutput c : CommandLineOption.InputOutput.values()) System.out.println(c);
public static CommandLineOption.InputOutput 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 © 2017. All rights reserved.