public static enum IncidentsManager.RoadSide extends Enum<IncidentsManager.RoadSide>
Enum Constant and Description |
---|
CROSS_LEFT
Left side.
|
CROSS_RIGHT
Right side.
|
MY_SIDE
This side of the road.
|
OTHER_SIDE
Opposite side of the road.
|
Modifier and Type | Method and Description |
---|---|
static IncidentsManager.RoadSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IncidentsManager.RoadSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IncidentsManager.RoadSide MY_SIDE
public static final IncidentsManager.RoadSide OTHER_SIDE
public static final IncidentsManager.RoadSide CROSS_LEFT
public static final IncidentsManager.RoadSide CROSS_RIGHT
public static IncidentsManager.RoadSide[] values()
for (IncidentsManager.RoadSide c : IncidentsManager.RoadSide.values()) System.out.println(c);
public static IncidentsManager.RoadSide 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 © 2013-2018 INRIX, Inc. All Rights Reserved.