public enum UrbanDensity extends Enum<UrbanDensity>
| Enum Constant and Description |
|---|
CITY |
RESIDENTIAL |
RURAL |
| Modifier and Type | Method and Description |
|---|---|
static EnumEncodedValue<UrbanDensity> |
create() |
String |
toString() |
static UrbanDensity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UrbanDensity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UrbanDensity RURAL
public static final UrbanDensity RESIDENTIAL
public static final UrbanDensity CITY
public static final String KEY
public static UrbanDensity[] values()
for (UrbanDensity c : UrbanDensity.values()) System.out.println(c);
public static UrbanDensity 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 static EnumEncodedValue<UrbanDensity> create()
public String toString()
toString in class Enum<UrbanDensity>Copyright © 2012–2022. All rights reserved.