public static enum Address.BeltwayHitLevel extends Enum<Address.BeltwayHitLevel>
| Enum Constant and Description |
|---|
EMPTY
В остальных случаях
|
IN_KAD
Внутри КАД (Санкт-Петербург)
|
IN_MKAD
Внутри МКАД (Москва)
|
OUT_KAD
За КАД (Санкт-Петербург или Ленинградская область)
|
OUT_MKAD
За МКАД (Москва или Московская область)
|
| Modifier and Type | Method and Description |
|---|---|
static Address.BeltwayHitLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.BeltwayHitLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.BeltwayHitLevel IN_MKAD
public static final Address.BeltwayHitLevel OUT_MKAD
public static final Address.BeltwayHitLevel IN_KAD
public static final Address.BeltwayHitLevel OUT_KAD
public static final Address.BeltwayHitLevel EMPTY
public static Address.BeltwayHitLevel[] values()
for (Address.BeltwayHitLevel c : Address.BeltwayHitLevel.values()) System.out.println(c);
public static Address.BeltwayHitLevel 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.