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