public static enum TransitRouteStop.Attribute extends java.lang.Enum<TransitRouteStop.Attribute>
TransitRouteStop.| Enum Constant and Description |
|---|
ELEVATOR
The stop features an elevator.
|
ESCALATOR
The stop features an escalator.
|
STAIRS
The stop features a set of stairs.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static TransitRouteStop.Attribute |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransitRouteStop.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransitRouteStop.Attribute ELEVATOR
public static final TransitRouteStop.Attribute ESCALATOR
public static final TransitRouteStop.Attribute STAIRS
public static TransitRouteStop.Attribute[] values()
for (TransitRouteStop.Attribute c : TransitRouteStop.Attribute.values()) System.out.println(c);
public static TransitRouteStop.Attribute 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 int value()