java.io.Serializable
, java.lang.Comparable<Armor.SizeDeviation>
public static enum Armor.SizeDeviation extends java.lang.Enum<Armor.SizeDeviation>
Armor.getSizingDeviation(MOB)
Modifier and Type | Method | Description |
---|---|---|
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.
|
public static final Armor.SizeDeviation TOO_LARGE
public static final Armor.SizeDeviation TOO_SMALL
public static final Armor.SizeDeviation FITS
public static Armor.SizeDeviation[] values()
for (Armor.SizeDeviation c : Armor.SizeDeviation.values()) System.out.println(c);
public static Armor.SizeDeviation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null