Package org.goplanit.utils.mode
Enum VehicularModeType
- java.lang.Object
-
- java.lang.Enum<VehicularModeType>
-
- org.goplanit.utils.mode.VehicularModeType
-
- All Implemented Interfaces:
Serializable
,Comparable<VehicularModeType>
public enum VehicularModeType extends Enum<VehicularModeType>
A mode is either vehicular oriented or notmodeType; part of physical features- Author:
- markr
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NO_VEHICLE
VEHICLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VehicularModeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static VehicularModeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VEHICLE
public static final VehicularModeType VEHICLE
-
NO_VEHICLE
public static final VehicularModeType NO_VEHICLE
-
-
Method Detail
-
values
public static VehicularModeType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VehicularModeType c : VehicularModeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VehicularModeType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-