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