public static enum Group.Privacy extends Enum<Group.Privacy>
Modifier and Type | Method and Description |
---|---|
static Group.Privacy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Group.Privacy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Group.Privacy OPEN
public static final Group.Privacy SECRET
public static final Group.Privacy CLOSED
public static Group.Privacy[] values()
for (Group.Privacy c : Group.Privacy.values()) System.out.println(c);
public static Group.Privacy 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 null