|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<GeometryType> cz.cuni.amis.pogamut.usar2004.agent.module.datatypes.GeometryType
public enum GeometryType
List of all Robot geometry Types. Each type can possibly represent more kinds of geometry of same type. For each enum record, there exists relevant Class which can be returned on demand.
Enum Constant Summary | |
---|---|
AERIAL_VEHICLE
|
|
GROUND_VEHICLE
|
|
LEGGED_ROBOT
|
|
MISSION_PACKAGE
|
|
NAUTIC_VEHICLE
|
|
SENSOR_EFFECTER
|
Method Summary | |
---|---|
Class |
getModuleClass()
Notice that this method is not static. |
static GeometryType |
getType(String type)
For each geometry type it checks if type matches one of kinds. |
static GeometryType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static GeometryType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final GeometryType GROUND_VEHICLE
public static final GeometryType LEGGED_ROBOT
public static final GeometryType NAUTIC_VEHICLE
public static final GeometryType AERIAL_VEHICLE
public static final GeometryType SENSOR_EFFECTER
public static final GeometryType MISSION_PACKAGE
Method Detail |
---|
public static GeometryType[] values()
for (GeometryType c : GeometryType.values()) System.out.println(c);
public static GeometryType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static GeometryType getType(String type)
type
- String representation or kind of Geometry
public Class getModuleClass()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |