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