public enum EnumLandType extends java.lang.Enum<EnumLandType>
| Enum Constant and Description |
|---|
CULTIVATED |
NONARABLE |
UNCULTIVATED_ARABLE |
| Modifier and Type | Field and Description |
|---|---|
static int |
SIZE |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
isCultivated() |
static EnumLandType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EnumLandType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumLandType CULTIVATED
public static final EnumLandType UNCULTIVATED_ARABLE
public static final EnumLandType NONARABLE
public static EnumLandType[] values()
for (EnumLandType c : EnumLandType.values()) System.out.println(c);
public static EnumLandType 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 nullpublic abstract boolean isCultivated()