Serializable, Comparable<MeasureOptions.Usage>public static enum MeasureOptions.Usage extends Enum<MeasureOptions.Usage>
| 枚举常量 | 说明 |
|---|---|
AREA_LAND_AGRICULT |
Indicates the area of an agricultural land.
|
AREA_LAND_COMMERCL |
Indicates the area of a commercial land.
|
AREA_LAND_RESIDNTL |
Indicates the area of a residential land.
|
DEFAULT |
Indicates that application scenarios are not specified.
|
LENGTH_PERSON |
Indicates the height of a person.
|
LENGTH_PERSON_INFORMAL |
Indicates the height of a person, measured in informal scenarios.
|
LENGTH_PERSON_SMALL |
Indicates the height of a person, measured in a smaller unit.
|
LENGTH_PERSON_SMALL_INFORMAL |
Indicates the height of a person, measured in a smaller unit for informal scenarios.
|
LENGTH_RAINFALL |
Indicates the rainfall amount.
|
LENGTH_ROAD |
Indicates the road length.
|
LENGTH_ROAD_INFORMAL |
Indicates the road length, measured in informal scenarios.
|
LENGTH_ROAD_SMALL |
Indicates the road length, measured in a smaller unit.
|
LENGTH_SNOWFALL |
Indicates the snowfall amount.
|
LENGTH_VEHICLE |
Indicates the vehicle length.
|
LENGTH_VISIBLTY |
Indicates visibility.
|
LENGTH_VISIBLTY_SMALL |
Indicates visibility, measured in a smaller unit.
|
SPEED_ROAD_TRAVEL |
Indicates the driving speed.
|
SPEED_WIND |
Indicates the wind speed.
|
TEMPERATURE_PERSON |
Indicates the body temperature of a person.
|
TEMPERATURE_WEATHER |
Indicates the atmospheric temperature.
|
VOLUME_VEHICLE_FUEL |
Indicates the gasoline capacity.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
String |
getUsageName() |
Obtains the name of this
Usage. |
String |
getUsageType() |
Obtains the type of this
Usage. |
static MeasureOptions.Usage |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static MeasureOptions.Usage[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (MeasureOptions.Usage c : MeasureOptions.Usage.values()) System.out.println(c); |
public static final MeasureOptions.Usage DEFAULT
public static final MeasureOptions.Usage AREA_LAND_AGRICULT
public static final MeasureOptions.Usage AREA_LAND_COMMERCL
public static final MeasureOptions.Usage AREA_LAND_RESIDNTL
public static final MeasureOptions.Usage LENGTH_PERSON
public static final MeasureOptions.Usage LENGTH_PERSON_SMALL
public static final MeasureOptions.Usage LENGTH_RAINFALL
public static final MeasureOptions.Usage LENGTH_ROAD
public static final MeasureOptions.Usage LENGTH_ROAD_SMALL
public static final MeasureOptions.Usage LENGTH_SNOWFALL
public static final MeasureOptions.Usage LENGTH_VEHICLE
public static final MeasureOptions.Usage LENGTH_VISIBLTY
public static final MeasureOptions.Usage LENGTH_VISIBLTY_SMALL
public static final MeasureOptions.Usage LENGTH_PERSON_INFORMAL
public static final MeasureOptions.Usage LENGTH_PERSON_SMALL_INFORMAL
public static final MeasureOptions.Usage LENGTH_ROAD_INFORMAL
public static final MeasureOptions.Usage SPEED_ROAD_TRAVEL
public static final MeasureOptions.Usage SPEED_WIND
public static final MeasureOptions.Usage TEMPERATURE_PERSON
public static final MeasureOptions.Usage TEMPERATURE_WEATHER
public static final MeasureOptions.Usage VOLUME_VEHICLE_FUEL
public static MeasureOptions.Usage[] values()
for (MeasureOptions.Usage c : MeasureOptions.Usage.values()) System.out.println(c);
public static MeasureOptions.Usage valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getUsageName()
Usage.public String getUsageType()
Usage.