public static enum AmbitUser.USER_TYPE extends Enum<AmbitUser.USER_TYPE>
Modifier and Type | Method and Description |
---|---|
static AmbitUser.USER_TYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AmbitUser.USER_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AmbitUser.USER_TYPE Guest
public static final AmbitUser.USER_TYPE Admin
public static final AmbitUser.USER_TYPE Pro
public static AmbitUser.USER_TYPE[] values()
for (AmbitUser.USER_TYPE c : AmbitUser.USER_TYPE.values()) System.out.println(c);
public static AmbitUser.USER_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 © 2004–2020 Ideaconsult Ltd.. All rights reserved.