public enum BambooLeaves extends Enum<BambooLeaves> implements StringIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
asString() |
String |
toString() |
static BambooLeaves |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BambooLeaves[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
createCodec, createCodec, method_28142
public static final BambooLeaves NONE
public static final BambooLeaves SMALL
public static final BambooLeaves LARGE
private final String name
public static BambooLeaves[] values()
for (BambooLeaves c : BambooLeaves.values()) System.out.println(c);
public static BambooLeaves 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 toString()
toString
in class Enum<BambooLeaves>
public String asString()
asString
in interface StringIdentifiable