public enum AddressSimpleType extends Enum<AddressSimpleType>
| Modifier and Type | Method and Description |
|---|---|
static AddressSimpleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressSimpleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressSimpleType HOME
public static final AddressSimpleType OFFICE
public static final AddressSimpleType UNDEFINED
public static AddressSimpleType[] values()
for (AddressSimpleType c : AddressSimpleType.values()) System.out.println(c);
public static AddressSimpleType 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 © 2012-2013. All Rights Reserved.