public enum Encumbrance extends Enum<Encumbrance>
Enum Constant and Description |
---|
BURDENED |
OVERLOADED |
OVERTAXED |
STRAINED |
STRESSED |
Modifier and Type | Method and Description |
---|---|
static Encumbrance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encumbrance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encumbrance BURDENED
public static final Encumbrance STRESSED
public static final Encumbrance STRAINED
public static final Encumbrance OVERTAXED
public static final Encumbrance OVERLOADED
public static Encumbrance[] values()
for (Encumbrance c : Encumbrance.values()) System.out.println(c);
public static Encumbrance valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null