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