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 OUTGOING
public static final Activity.Type INCOMING
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 © 2010–2017. All rights reserved.