Package org.rspeer.commons.wiki
Enum EquipmentDefinition.StrengthBonus
- java.lang.Object
-
- java.lang.Enum<EquipmentDefinition.StrengthBonus>
-
- org.rspeer.commons.wiki.EquipmentDefinition.StrengthBonus
-
- All Implemented Interfaces:
Serializable
,Comparable<EquipmentDefinition.StrengthBonus>
- Enclosing class:
- EquipmentDefinition
public static enum EquipmentDefinition.StrengthBonus extends Enum<EquipmentDefinition.StrengthBonus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAGIC_DAMAGE
MELEE_STRENGTH
RANGED_STRENGTH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EquipmentDefinition.StrengthBonus
valueOf(String name)
Returns the enum constant of this type with the specified name.static EquipmentDefinition.StrengthBonus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MELEE_STRENGTH
public static final EquipmentDefinition.StrengthBonus MELEE_STRENGTH
-
RANGED_STRENGTH
public static final EquipmentDefinition.StrengthBonus RANGED_STRENGTH
-
MAGIC_DAMAGE
public static final EquipmentDefinition.StrengthBonus MAGIC_DAMAGE
-
-
Method Detail
-
values
public static EquipmentDefinition.StrengthBonus[] 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 (EquipmentDefinition.StrengthBonus c : EquipmentDefinition.StrengthBonus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EquipmentDefinition.StrengthBonus 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 nameNullPointerException
- if the argument is null
-
-