Enum Skill

    • Enum Constant Detail

      • ATTACK

        public static final Skill ATTACK
      • DEFENCE

        public static final Skill DEFENCE
      • STRENGTH

        public static final Skill STRENGTH
      • HITPOINTS

        public static final Skill HITPOINTS
      • RANGED

        public static final Skill RANGED
      • PRAYER

        public static final Skill PRAYER
      • MAGIC

        public static final Skill MAGIC
      • COOKING

        public static final Skill COOKING
      • WOODCUTTING

        public static final Skill WOODCUTTING
      • FLETCHING

        public static final Skill FLETCHING
      • FISHING

        public static final Skill FISHING
      • FIREMAKING

        public static final Skill FIREMAKING
      • CRAFTING

        public static final Skill CRAFTING
      • SMITHING

        public static final Skill SMITHING
      • MINING

        public static final Skill MINING
      • HERBLORE

        public static final Skill HERBLORE
      • AGILITY

        public static final Skill AGILITY
      • THIEVING

        public static final Skill THIEVING
      • SLAYER

        public static final Skill SLAYER
      • FARMING

        public static final Skill FARMING
      • RUNECRAFT

        public static final Skill RUNECRAFT
      • HUNTER

        public static final Skill HUNTER
      • CONSTRUCTION

        public static final Skill CONSTRUCTION
    • Method Detail

      • values

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

        public static Skill valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getName

        public String getName()
        Gets the name of the skill.
        Returns:
        the skill name