public static enum LPConstants.LPEndType extends java.lang.Enum<LPConstants.LPEndType>
限定符和类型 | 方法和说明 |
---|---|
static LPConstants.LPEndType |
from(int type) |
int |
getType() |
static LPConstants.LPEndType |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static LPConstants.LPEndType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
@SerializedName(value="0") public static final LPConstants.LPEndType PC_HTML
@SerializedName(value="1") public static final LPConstants.LPEndType PC_Client
@SerializedName(value="2") public static final LPConstants.LPEndType PC_H5
@SerializedName(value="3") public static final LPConstants.LPEndType iOS
@SerializedName(value="4") public static final LPConstants.LPEndType Android
@SerializedName(value="5") public static final LPConstants.LPEndType PC_MAC_Client
public static LPConstants.LPEndType[] values()
for (LPConstants.LPEndType c : LPConstants.LPEndType.values()) System.out.println(c);
public static LPConstants.LPEndType valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public static LPConstants.LPEndType from(int type)
public int getType()