public static enum ShipRecoverySpecial.ShipCondition extends java.lang.Enum<ShipRecoverySpecial.ShipCondition>
| Enum Constant and Description |
|---|
AVERAGE |
BATTERED |
GOOD |
PRISTINE |
WRECKED |
| Modifier and Type | Method and Description |
|---|---|
static ShipRecoverySpecial.ShipCondition |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShipRecoverySpecial.ShipCondition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShipRecoverySpecial.ShipCondition PRISTINE
public static final ShipRecoverySpecial.ShipCondition GOOD
public static final ShipRecoverySpecial.ShipCondition AVERAGE
public static final ShipRecoverySpecial.ShipCondition BATTERED
public static final ShipRecoverySpecial.ShipCondition WRECKED
public static ShipRecoverySpecial.ShipCondition[] values()
for (ShipRecoverySpecial.ShipCondition c : ShipRecoverySpecial.ShipCondition.values()) System.out.println(c);
public static ShipRecoverySpecial.ShipCondition 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