Enum ClanRank

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ClanRank>

    public enum ClanRank
    extends java.lang.Enum<ClanRank>
    The ranks in a clan. Clan ranks 1-14 are mapped to corresponding titles via the clan settings.
    • Enum Constant Detail

      • GUEST

        public static final ClanRank GUEST
      • CLAN_RANK_1

        public static final ClanRank CLAN_RANK_1
      • CLAN_RANK_2

        public static final ClanRank CLAN_RANK_2
      • CLAN_RANK_3

        public static final ClanRank CLAN_RANK_3
      • CLAN_RANK_4

        public static final ClanRank CLAN_RANK_4
      • CLAN_RANK_5

        public static final ClanRank CLAN_RANK_5
      • CLAN_RANK_6

        public static final ClanRank CLAN_RANK_6
      • CLAN_RANK_7

        public static final ClanRank CLAN_RANK_7
      • CLAN_RANK_8

        public static final ClanRank CLAN_RANK_8
      • CLAN_RANK_9

        public static final ClanRank CLAN_RANK_9
      • CLAN_RANK_10

        public static final ClanRank CLAN_RANK_10
      • ADMINISTRATOR

        public static final ClanRank ADMINISTRATOR
      • CLAN_RANK_11

        public static final ClanRank CLAN_RANK_11
      • CLAN_RANK_12

        public static final ClanRank CLAN_RANK_12
      • CLAN_RANK_13

        public static final ClanRank CLAN_RANK_13
      • CLAN_RANK_14

        public static final ClanRank CLAN_RANK_14
      • DEPUTY_OWNER

        public static final ClanRank DEPUTY_OWNER
      • OWNER

        public static final ClanRank OWNER
      • JMOD

        public static final ClanRank JMOD
    • Method Detail

      • values

        public static ClanRank[] 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 (ClanRank c : ClanRank.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ClanRank 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 name
        java.lang.NullPointerException - if the argument is null