public static enum Address.CapitalMarker extends Enum<Address.CapitalMarker>
| Enum Constant and Description |
|---|
AREA_CENTER
Центр района (Московская обл, Одинцовский р-н, г Одинцово)
|
AREA_OR_REGION_CENTER
Центр района и региона (Костромская обл, Костромской р-н, г Кострома)
|
OTHER
Ни то, ни другое (Московская обл, г Балашиха)
|
REGION_CENTER
Центр региона (Новосибирская обл, г Новосибирск)
|
| Modifier and Type | Method and Description |
|---|---|
static Address.CapitalMarker |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.CapitalMarker[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.CapitalMarker AREA_CENTER
public static final Address.CapitalMarker REGION_CENTER
public static final Address.CapitalMarker AREA_OR_REGION_CENTER
public static final Address.CapitalMarker OTHER
public static Address.CapitalMarker[] values()
for (Address.CapitalMarker c : Address.CapitalMarker.values()) System.out.println(c);
public static Address.CapitalMarker 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 © 2016. All rights reserved.