public static enum AoiInfo.AoiType extends java.lang.Enum<AoiInfo.AoiType>
Enum Constant and Description |
---|
AOI_TYPE_AIRPORT
机场
|
AOI_TYPE_FREEWAY_SERVICE
高速服务区
|
AOI_TYPE_GAS_STATION
加油站
|
AOI_TYPE_HOSPITAL
医院🏥
|
AOI_TYPE_PARK
公园
|
AOI_TYPE_RAILWAT_STATION
火车站
|
AOI_TYPE_RESIDENTIAL_DISTRICT
住宅区
|
AOI_TYPE_SCENIC_AREA
旅游景点
|
AOI_TYPE_SCHOOL
学校
|
AOI_TYPE_SHOPPINGMALL
商场
|
AOI_TYPE_UNKNOWN
未知类型,无效值
|
AOI_TYPE_WATER
水域
|
Modifier and Type | Method and Description |
---|---|
int |
toInt() |
static AoiInfo.AoiType |
valueOf(int value) |
static AoiInfo.AoiType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AoiInfo.AoiType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AoiInfo.AoiType AOI_TYPE_UNKNOWN
public static final AoiInfo.AoiType AOI_TYPE_AIRPORT
public static final AoiInfo.AoiType AOI_TYPE_RAILWAT_STATION
public static final AoiInfo.AoiType AOI_TYPE_SHOPPINGMALL
public static final AoiInfo.AoiType AOI_TYPE_GAS_STATION
public static final AoiInfo.AoiType AOI_TYPE_SCHOOL
public static final AoiInfo.AoiType AOI_TYPE_HOSPITAL
public static final AoiInfo.AoiType AOI_TYPE_RESIDENTIAL_DISTRICT
public static final AoiInfo.AoiType AOI_TYPE_SCENIC_AREA
public static final AoiInfo.AoiType AOI_TYPE_PARK
public static final AoiInfo.AoiType AOI_TYPE_FREEWAY_SERVICE
public static final AoiInfo.AoiType AOI_TYPE_WATER
public static AoiInfo.AoiType[] values()
for (AoiInfo.AoiType c : AoiInfo.AoiType.values()) System.out.println(c);
public static AoiInfo.AoiType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AoiInfo.AoiType valueOf(int value)
public int toInt()