com.planet_ink.coffee_mud.Items.interfaces
Enum Armor.SizeDeviation

java.lang.Object
  extended by java.lang.Enum<Armor.SizeDeviation>
      extended by com.planet_ink.coffee_mud.Items.interfaces.Armor.SizeDeviation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Armor.SizeDeviation>
Enclosing interface:
Armor

public static enum Armor.SizeDeviation
extends java.lang.Enum<Armor.SizeDeviation>

Different ways in which a piece of armor can fit, or not fit, on a mob.

See Also:
Armor.getSizingDeviation(MOB)

Enum Constant Summary
FITS
           
TOO_LARGE
           
TOO_SMALL
           
 
Method Summary
static Armor.SizeDeviation valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Armor.SizeDeviation[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TOO_LARGE

public static final Armor.SizeDeviation TOO_LARGE

TOO_SMALL

public static final Armor.SizeDeviation TOO_SMALL

FITS

public static final Armor.SizeDeviation FITS
Method Detail

values

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

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

valueOf

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