public static enum User.Groups extends Enum<User.Groups>
| Enum Constant and Description |
|---|
ADMINS
Administrators group.
|
MODS
Moderators group.
|
USERS
The standard user group.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static User.Groups |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static User.Groups[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.Groups USERS
public static final User.Groups MODS
public static final User.Groups ADMINS
public static User.Groups[] values()
for (User.Groups c : User.Groups.values()) System.out.println(c);
public static User.Groups 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 nullpublic String toString()
toString in class Enum<User.Groups>Copyright © 2018 Erudika. All rights reserved.