public enum EnumDer2Enum extends Enum<EnumDer2Enum>
| Enum Constant and Description |
|---|
HUNDRED
Represents hundred.
|
TEN
Represents ten.
|
THOUSAND
Represents thousand.
|
| Modifier and Type | Method and Description |
|---|---|
int |
enumDer2Enum()
Returns the attribute enumDer2Enum.
|
static EnumDer2Enum |
of(int value)
Returns the object of enumDer2Enum for.
|
static EnumDer2Enum |
of(String value)
Returns the object of enumDer2Enum for.
|
String |
toString() |
static EnumDer2Enum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumDer2Enum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumDer2Enum TEN
public static final EnumDer2Enum HUNDRED
public static final EnumDer2Enum THOUSAND
public static EnumDer2Enum[] values()
for (EnumDer2Enum c : EnumDer2Enum.values()) System.out.println(c);
public static EnumDer2Enum 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 static EnumDer2Enum of(int value)
value - value of enumDer2Enum forpublic static EnumDer2Enum of(String value)
value - value of enumDer2Enum forpublic int enumDer2Enum()
public String toString()
toString in class Enum<EnumDer2Enum>Copyright © 2017. All rights reserved.