public static enum ShipTypeCargo.CargoType extends Enum<ShipTypeCargo.CargoType>
| Enum Constant and Description |
|---|
A
A cargo type.
|
B
B cargo type.
|
C
C cargo type.
|
D
D cargo type.
|
UNDEFINED
Undefined cargo type.
|
| Modifier and Type | Method and Description |
|---|---|
static ShipTypeCargo.CargoType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShipTypeCargo.CargoType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShipTypeCargo.CargoType UNDEFINED
public static final ShipTypeCargo.CargoType A
public static final ShipTypeCargo.CargoType B
public static final ShipTypeCargo.CargoType C
public static final ShipTypeCargo.CargoType D
public static ShipTypeCargo.CargoType[] values()
for (ShipTypeCargo.CargoType c : ShipTypeCargo.CargoType.values()) System.out.println(c);
public static ShipTypeCargo.CargoType 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 nullCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.