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