public enum OwnerOfTheRoad extends Enum<OwnerOfTheRoad>
| Enum Constant and Description |
|---|
BT_ROAD |
CC_ROAD |
MUNICIPAL_ROAD |
RB_ROAD |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OwnerOfTheRoad |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OwnerOfTheRoad[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OwnerOfTheRoad BT_ROAD
public static final OwnerOfTheRoad CC_ROAD
public static final OwnerOfTheRoad RB_ROAD
public static final OwnerOfTheRoad MUNICIPAL_ROAD
public static OwnerOfTheRoad[] values()
for (OwnerOfTheRoad c : OwnerOfTheRoad.values()) System.out.println(c);
public static OwnerOfTheRoad 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 nullpublic String toString()
toString in class Enum<OwnerOfTheRoad>Copyright © 2015–2016 eGovernments Foundation. All rights reserved.