public static enum Delivery.Type extends Enum<Delivery.Type>
Modifier and Type | Method and Description |
---|---|
static Delivery.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Delivery.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Delivery.Type BYTES
public static final Delivery.Type STRING
public static final Delivery.Type MALFORMED
public static final Delivery.Type JSON
public static Delivery.Type[] values()
for (Delivery.Type c : Delivery.Type.values()) System.out.println(c);
public static Delivery.Type 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 © 2015 International Business Machines Corporation. All rights reserved.