public static enum LogMessage.MsgType extends Enum<LogMessage.MsgType>
Modifier and Type | Method and Description |
---|---|
static LogMessage.MsgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogMessage.MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogMessage.MsgType SEND
public static final LogMessage.MsgType RECEIVE
public static LogMessage.MsgType[] values()
for (LogMessage.MsgType c : LogMessage.MsgType.values()) System.out.println(c);
public static LogMessage.MsgType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All rights reserved.