public enum SailingServiceType extends Enum<SailingServiceType>
| Enum Constant and Description |
|---|
MIXED |
ONLY_EMPTY |
ONLY_FULL |
| Modifier and Type | Method and Description |
|---|---|
static SailingServiceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SailingServiceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SailingServiceType ONLY_FULL
public static final SailingServiceType ONLY_EMPTY
public static final SailingServiceType MIXED
public static SailingServiceType[] values()
for (SailingServiceType c : SailingServiceType.values()) System.out.println(c);
public static SailingServiceType 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 © 2014–2017 Delft University of Technology. All rights reserved.