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