public static enum Location.DeliveryPoint extends java.lang.Enum<Location.DeliveryPoint>
Enum Constant and Description |
---|
COMMERCIAL_MAIL_DROP |
MULTI_UNIT |
PO_BOX |
PO_BOX_THROWBACK |
SINGLE_UNIT |
Modifier and Type | Method and Description |
---|---|
static Location.DeliveryPoint |
forValue(java.lang.String value) |
java.lang.String |
toString() |
static Location.DeliveryPoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Location.DeliveryPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Location.DeliveryPoint COMMERCIAL_MAIL_DROP
public static final Location.DeliveryPoint PO_BOX_THROWBACK
public static final Location.DeliveryPoint PO_BOX
public static final Location.DeliveryPoint MULTI_UNIT
public static final Location.DeliveryPoint SINGLE_UNIT
public static Location.DeliveryPoint[] values()
for (Location.DeliveryPoint c : Location.DeliveryPoint.values()) System.out.println(c);
public static Location.DeliveryPoint 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.DeliveryPoint>
public static Location.DeliveryPoint forValue(java.lang.String value)