public static enum ExtensibleEnum.ExtensibleEnumType extends Enum<ExtensibleEnum.ExtensibleEnumType>
| Enum Constant and Description |
|---|
BLUE |
GREEN |
RED |
UNKNOWN
Literal UNKNOWN is used in case that an unknown literal of this enumeration is received e.g. via an external
interface.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensibleEnum.ExtensibleEnumType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExtensibleEnum.ExtensibleEnumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtensibleEnum.ExtensibleEnumType RED
public static final ExtensibleEnum.ExtensibleEnumType GREEN
public static final ExtensibleEnum.ExtensibleEnumType BLUE
public static final ExtensibleEnum.ExtensibleEnumType UNKNOWN
public static ExtensibleEnum.ExtensibleEnumType[] values()
for (ExtensibleEnum.ExtensibleEnumType c : ExtensibleEnum.ExtensibleEnumType.values()) System.out.println(c);
public static ExtensibleEnum.ExtensibleEnumType 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 © 2022. All rights reserved.