public enum MailingClass extends java.lang.Enum<MailingClass>
| Enum Constant and Description |
|---|
CERTIFIED |
FIRST_CLASS |
NON_PROFIT |
NONE |
STANDARD |
| Modifier and Type | Method and Description |
|---|---|
static MailingClass |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MailingClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailingClass FIRST_CLASS
public static final MailingClass STANDARD
public static final MailingClass NON_PROFIT
public static final MailingClass CERTIFIED
public static final MailingClass NONE
public static MailingClass[] values()
for (MailingClass c : MailingClass.values()) System.out.println(c);
public static MailingClass 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 null