java.io.Serializable
, java.lang.Comparable<Stairs.Shape>
public static enum Stairs.Shape extends java.lang.Enum<Stairs.Shape>
Enum Constant | Description |
---|---|
INNER_LEFT |
Inner corner stair block with higher left side.
|
INNER_RIGHT |
Inner corner stair block with higher right side.
|
OUTER_LEFT |
Outer corner stair block with higher left side.
|
OUTER_RIGHT |
Outer corner stair block with higher right side.
|
STRAIGHT |
Regular stair block.
|
Modifier and Type | Method | Description |
---|---|---|
static Stairs.Shape |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Stairs.Shape[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stairs.Shape STRAIGHT
public static final Stairs.Shape INNER_LEFT
public static final Stairs.Shape INNER_RIGHT
public static final Stairs.Shape OUTER_LEFT
public static final Stairs.Shape OUTER_RIGHT
public static Stairs.Shape[] values()
for (Stairs.Shape c : Stairs.Shape.values()) System.out.println(c);
public static Stairs.Shape valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.