public enum AccountMsgType extends Enum<AccountMsgType>
| 枚举常量和说明 |
|---|
USER_DISCONNECT |
USER_LOGIN |
USER_LOGOUT |
USER_MODIFY_PWD |
USER_REGISTER |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getRemark() |
String |
getValue() |
static AccountMsgType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static AccountMsgType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final AccountMsgType USER_LOGIN
public static final AccountMsgType USER_LOGOUT
public static final AccountMsgType USER_DISCONNECT
public static final AccountMsgType USER_REGISTER
public static final AccountMsgType USER_MODIFY_PWD
public static AccountMsgType[] values()
for (AccountMsgType c : AccountMsgType.values()) System.out.println(c);
public static AccountMsgType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值public String getValue()
public String getRemark()
Copyright © 2019 GTMAP. All rights reserved.