com.amoebaman.kitmaster.handlers
Enum InventoryUtil.Armor.ArmorType

java.lang.Object
  extended by java.lang.Enum<InventoryUtil.Armor.ArmorType>
      extended by com.amoebaman.kitmaster.handlers.InventoryUtil.Armor.ArmorType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<InventoryUtil.Armor.ArmorType>
Enclosing class:
InventoryUtil.Armor

public static enum InventoryUtil.Armor.ArmorType
extends java.lang.Enum<InventoryUtil.Armor.ArmorType>

The types of armor.


Enum Constant Summary
BOOTS
          Boots armor
HAT
          Helmet armor
PANTS
          Leggings armor
SHIRT
          Chestplate armor
 
Method Summary
static InventoryUtil.Armor.ArmorType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static InventoryUtil.Armor.ArmorType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HAT

public static final InventoryUtil.Armor.ArmorType HAT
Helmet armor


SHIRT

public static final InventoryUtil.Armor.ArmorType SHIRT
Chestplate armor


PANTS

public static final InventoryUtil.Armor.ArmorType PANTS
Leggings armor


BOOTS

public static final InventoryUtil.Armor.ArmorType BOOTS
Boots armor

Method Detail

values

public static InventoryUtil.Armor.ArmorType[] 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 (InventoryUtil.Armor.ArmorType c : InventoryUtil.Armor.ArmorType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static InventoryUtil.Armor.ArmorType 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