Enum ClanChatMember.Rank
- java.lang.Object
-
- java.lang.Enum<ClanChatMember.Rank>
-
- org.dreambot.api.methods.clan.chat.ClanChatMember.Rank
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClanChatMember.Rank>
- Enclosing class:
- ClanChatMember
public static enum ClanChatMember.Rank extends java.lang.Enum<ClanChatMember.Rank>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CAPTAIN
CORPORAL
FRIEND
GENERAL
LIEUTENANT
NOT_IN_CLAN
OWNER
RECRUIT
SERGEANT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getRank()
static ClanChatMember.Rank
getRank(int b)
static ClanChatMember.Rank
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClanChatMember.Rank[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OWNER
public static final ClanChatMember.Rank OWNER
-
GENERAL
public static final ClanChatMember.Rank GENERAL
-
CAPTAIN
public static final ClanChatMember.Rank CAPTAIN
-
LIEUTENANT
public static final ClanChatMember.Rank LIEUTENANT
-
SERGEANT
public static final ClanChatMember.Rank SERGEANT
-
CORPORAL
public static final ClanChatMember.Rank CORPORAL
-
RECRUIT
public static final ClanChatMember.Rank RECRUIT
-
FRIEND
public static final ClanChatMember.Rank FRIEND
-
NOT_IN_CLAN
public static final ClanChatMember.Rank NOT_IN_CLAN
-
-
Method Detail
-
values
public static ClanChatMember.Rank[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClanChatMember.Rank c : ClanChatMember.Rank.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClanChatMember.Rank valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getRank
public static ClanChatMember.Rank getRank(int b)
-
getRank
public int getRank()
-
-