public enum SimpleCapital extends Enum<SimpleCapital> implements Capital
| Enum Constant and Description |
|---|
ECONOMIC |
HUMAN |
INFRASTRUCTURE |
NATURAL_CROPS |
NATURAL_FOREST |
NATURAL_GRASSLAND |
NATURE_VALUE |
| Modifier and Type | Field and Description |
|---|---|
static com.moseph.modelutils.fastdata.NamedIndexSet<Capital> |
simpleCapitals |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
String |
getName() |
static SimpleCapital |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleCapital[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleCapital HUMAN
public static final SimpleCapital INFRASTRUCTURE
public static final SimpleCapital ECONOMIC
public static final SimpleCapital NATURAL_GRASSLAND
public static final SimpleCapital NATURAL_FOREST
public static final SimpleCapital NATURAL_CROPS
public static final SimpleCapital NATURE_VALUE
public static final com.moseph.modelutils.fastdata.NamedIndexSet<Capital> simpleCapitals
public static SimpleCapital[] values()
for (SimpleCapital c : SimpleCapital.values()) System.out.println(c);
public static SimpleCapital 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 getName()
getName in interface com.moseph.modelutils.fastdata.Namedpublic int getIndex()
getIndex in interface com.moseph.modelutils.fastdata.Indexed