public static enum Activity.Type extends Enum<Activity.Type>
| Modifier and Type | Method and Description |
|---|---|
static Activity.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Activity.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Activity.Type PICKUP
public static final Activity.Type DELIVERY
public static final Activity.Type SERVICE
public static final Activity.Type BREAK
public static Activity.Type[] values()
for (Activity.Type c : Activity.Type.values()) System.out.println(c);
public static Activity.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 © 2013–2024. All rights reserved.