public enum VehicleType extends Enum<VehicleType>
| Enum Constant and Description |
|---|
AERIAL_VEHICLE |
GROUND_VEHICLE |
LEGGED_ROBOT |
NAUTIC_VEHICLE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
Class |
getModuleClass() |
static VehicleType |
getType(String type)
Used for creating instances of state message representatives.
|
static VehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType GROUND_VEHICLE
public static final VehicleType LEGGED_ROBOT
public static final VehicleType NAUTIC_VEHICLE
public static final VehicleType AERIAL_VEHICLE
public static final VehicleType UNKNOWN
public static VehicleType[] values()
for (VehicleType c : VehicleType.values()) System.out.println(c);
public static VehicleType 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 Class getModuleClass()
public static VehicleType getType(String type)
type - String representation of vehicle type.Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.