| Enum Constant and Description |
|---|
CAPTAIN
유닛관리자
|
MANAGER
관리자
|
MEMBER
유닛원
|
| Modifier and Type | Field and Description |
|---|---|
(package private) int |
mCode |
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
static RollCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RollCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RollCode MEMBER
public static final RollCode MANAGER
public static final RollCode CAPTAIN
public static RollCode[] values()
for (RollCode c : RollCode.values()) System.out.println(c);
public static RollCode 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 getCode()