Package org.dreambot.api.methods.clan
Enum ClanMember.Rank
- java.lang.Object
-
- java.lang.Enum<ClanMember.Rank>
-
- org.dreambot.api.methods.clan.ClanMember.Rank
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ClanMember.Rank>
- Enclosing class:
- ClanMember
public static enum ClanMember.Rank extends java.lang.Enum<ClanMember.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 ClanMember.Rank
getRank(int b)
static ClanMember.Rank
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClanMember.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 ClanMember.Rank OWNER
-
GENERAL
public static final ClanMember.Rank GENERAL
-
CAPTAIN
public static final ClanMember.Rank CAPTAIN
-
LIEUTENANT
public static final ClanMember.Rank LIEUTENANT
-
SERGEANT
public static final ClanMember.Rank SERGEANT
-
CORPORAL
public static final ClanMember.Rank CORPORAL
-
RECRUIT
public static final ClanMember.Rank RECRUIT
-
FRIEND
public static final ClanMember.Rank FRIEND
-
NOT_IN_CLAN
public static final ClanMember.Rank NOT_IN_CLAN
-
-
Method Detail
-
values
public static ClanMember.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 (ClanMember.Rank c : ClanMember.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 ClanMember.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 ClanMember.Rank getRank(int b)
-
getRank
public int getRank()
-
-