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