public enum EnumValueClass extends Enum<EnumValueClass>
Modifier and Type | Method and Description |
---|---|
static EnumValueClass |
fromValue(String v) |
String |
value() |
static EnumValueClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumValueClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumValueClass ONE
public static final EnumValueClass TWO
public static final EnumValueClass THREE
public static EnumValueClass[] values()
for (EnumValueClass c : EnumValueClass.values()) System.out.println(c);
public static EnumValueClass 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 nullpublic String value()
public static EnumValueClass fromValue(String v)
Copyright © 2019 JBoss by Red Hat. All rights reserved.