private static enum CrossingWays.WayType extends java.lang.Enum<CrossingWays.WayType>
Enum Constant and Description |
---|
BUILDING |
HIGHWAY |
RESIDENTIAL_AREA |
WATERWAY |
WAY |
Modifier and Type | Method and Description |
---|---|
(package private) static CrossingWays.WayType |
of(Way w) |
static CrossingWays.WayType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CrossingWays.WayType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrossingWays.WayType BUILDING
public static final CrossingWays.WayType HIGHWAY
public static final CrossingWays.WayType RESIDENTIAL_AREA
public static final CrossingWays.WayType WATERWAY
public static final CrossingWays.WayType WAY
public static CrossingWays.WayType[] values()
for (CrossingWays.WayType c : CrossingWays.WayType.values()) System.out.println(c);
public static CrossingWays.WayType 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 nullstatic CrossingWays.WayType of(Way w)