public static enum RailDirection.State extends Enum<RailDirection.State>
| Modifier and Type | Method and Description |
|---|---|
static RailDirection.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RailDirection.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RailDirection.State STRAIGHT
public static final RailDirection.State ASCENDING
public static final RailDirection.State CURVED
public static RailDirection.State[] values()
for (RailDirection.State c : RailDirection.State.values()) System.out.println(c);
public static RailDirection.State 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 nullCopyright © 2021. All rights reserved.