Enum Constant and Description |
---|
CHAT_ROOM_INDEPENDENT
Deprecated.
|
IM
IM login mode.
|
INIT
The initial state
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ModeCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModeCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModeCode INIT
public static final ModeCode IM
@Deprecated public static final ModeCode CHAT_ROOM_INDEPENDENT
public static ModeCode[] values()
for (ModeCode c : ModeCode.values()) System.out.println(c);
public static ModeCode 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 int getValue()