public enum SimpleService extends Enum<SimpleService> implements Service
| Enum Constant and Description |
|---|
FOOD |
HOUSING |
RECREATION |
TIMBER |
| Modifier and Type | Field and Description |
|---|---|
static com.moseph.modelutils.fastdata.NamedIndexSet<Service> |
simpleServices |
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex() |
String |
getName() |
static SimpleService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleService HOUSING
public static final SimpleService TIMBER
public static final SimpleService FOOD
public static final SimpleService RECREATION
public static final com.moseph.modelutils.fastdata.NamedIndexSet<Service> simpleServices
public static SimpleService[] values()
for (SimpleService c : SimpleService.values()) System.out.println(c);
public static SimpleService 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