java.io.Serializable
, java.lang.Comparable<Clan.Authority>
public static enum Clan.Authority extends java.lang.Enum<Clan.Authority>
Enum Constant | Description |
---|---|
CAN_DO |
|
CAN_NOT_DO |
|
MUST_VOTE_ON |
Modifier and Type | Method | Description |
---|---|---|
static Clan.Authority |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Clan.Authority[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Clan.Authority CAN_NOT_DO
public static final Clan.Authority CAN_DO
public static final Clan.Authority MUST_VOTE_ON
public static Clan.Authority[] values()
for (Clan.Authority c : Clan.Authority.values()) System.out.println(c);
public static Clan.Authority 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 null