public enum MsgType extends Enum<MsgType>
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
static MsgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsgType INFO
public static final MsgType WARNING
public static final MsgType ERROR
public static MsgType[] values()
for (MsgType c : MsgType.values()) System.out.println(c);
public static 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 nullpublic int getOrder()
Copyright © 2017 etc.to. All rights reserved.