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