public enum WallShape extends Enum<WallShape> implements StringIdentifiable
Modifier and Type | Method and Description |
---|---|
String |
asString() |
String |
toString() |
static WallShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WallShape[] |
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 WallShape NONE
public static final WallShape LOW
public static final WallShape TALL
private final String name
public static WallShape[] values()
for (WallShape c : WallShape.values()) System.out.println(c);
public static WallShape 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 asString()
asString
in interface StringIdentifiable