public static enum WayConnectionType.Direction extends java.lang.Enum<WayConnectionType.Direction>
| Enum Constant and Description |
|---|
BACKWARD |
FORWARD |
NONE |
ROUNDABOUT_LEFT |
ROUNDABOUT_RIGHT |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isRoundabout()
Determines if the direction denotes a roundabout.
|
static WayConnectionType.Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static WayConnectionType.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WayConnectionType.Direction FORWARD
public static final WayConnectionType.Direction BACKWARD
public static final WayConnectionType.Direction ROUNDABOUT_LEFT
public static final WayConnectionType.Direction ROUNDABOUT_RIGHT
public static final WayConnectionType.Direction NONE
public static WayConnectionType.Direction[] values()
for (WayConnectionType.Direction c : WayConnectionType.Direction.values()) System.out.println(c);
public static WayConnectionType.Direction 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 nullpublic boolean isRoundabout()
true if the direction denotes a roundabout