public static enum Location.AddressType extends java.lang.Enum<Location.AddressType>
Enum Constant and Description |
---|
FIRM |
GENERAL_DELIVERY |
HIGH_RISE |
PO_BOX |
RURAL_ROUTE |
STREET |
Modifier and Type | Method and Description |
---|---|
static Location.AddressType |
forValue(java.lang.String value) |
java.lang.String |
toString() |
static Location.AddressType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Location.AddressType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location.AddressType FIRM
public static final Location.AddressType GENERAL_DELIVERY
public static final Location.AddressType HIGH_RISE
public static final Location.AddressType PO_BOX
public static final Location.AddressType RURAL_ROUTE
public static final Location.AddressType STREET
public static Location.AddressType[] values()
for (Location.AddressType c : Location.AddressType.values()) System.out.println(c);
public static Location.AddressType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<Location.AddressType>
public static Location.AddressType forValue(java.lang.String value)