public enum ExitCodes extends Enum<ExitCodes>
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ExitCodes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExitCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExitCodes ZERO
public static final ExitCodes ONE
public static final ExitCodes TWO
public static final ExitCodes THREE
public static final ExitCodes FOUR
public static final ExitCodes FIVE
public static ExitCodes[] values()
for (ExitCodes c : ExitCodes.values()) System.out.println(c);
public static ExitCodes 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 © 2018. All rights reserved.