public static enum Constants.FormOfWay extends Enum<Constants.FormOfWay>
| Enum Constant and Description |
|---|
CYCLEPATH
dedicated cyclepath (no pedestrians or other vehicles allowed)
|
FOOT_CYCLEPATH
dedicated mixed foot and cyclepath
|
FOOTPATH
dedicated footpath (no vehicles allowed)
|
LIVING_STREET |
MOTORWAY |
PATH
small path, typically foot-only and/or unpaved
|
PEDESTRIAN_ZONE |
ROAD
everything below motorways and down to residential roads
|
ROAD_CROSSING
road crossing for cyclists / pedestrians
|
SIDEWALK
sidewalk that runs along a street, typically only for pedestrians
|
STAIRS |
| Modifier and Type | Method and Description |
|---|---|
static Constants.FormOfWay |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.FormOfWay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.FormOfWay MOTORWAY
public static final Constants.FormOfWay ROAD
public static final Constants.FormOfWay ROAD_CROSSING
public static final Constants.FormOfWay LIVING_STREET
public static final Constants.FormOfWay CYCLEPATH
public static final Constants.FormOfWay FOOT_CYCLEPATH
public static final Constants.FormOfWay FOOTPATH
public static final Constants.FormOfWay SIDEWALK
public static final Constants.FormOfWay PEDESTRIAN_ZONE
public static final Constants.FormOfWay STAIRS
public static final Constants.FormOfWay PATH
public static Constants.FormOfWay[] values()
for (Constants.FormOfWay c : Constants.FormOfWay.values()) System.out.println(c);
public static Constants.FormOfWay 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 © 2018. All rights reserved.