public enum UserPlatformType extends Enum<UserPlatformType>
| 限定符和类型 | 字段和说明 |
|---|---|
static Map<String,UserPlatformType> |
businessTypeMap |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getDescription() |
String |
getType() |
void |
setDescription(String description) |
void |
setType(String type) |
static UserPlatformType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static UserPlatformType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final UserPlatformType MOBILE
public static final UserPlatformType IPAD
public static final UserPlatformType PC
public static Map<String,UserPlatformType> businessTypeMap
public static UserPlatformType[] values()
for (UserPlatformType c : UserPlatformType.values()) System.out.println(c);
public static UserPlatformType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getType()
public void setType(String type)
public String getDescription()
public void setDescription(String description)
Copyright © 2024. All rights reserved.