public static enum User.DefaultAvatar extends java.lang.Enum<User.DefaultAvatar>
User
can have.| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |
static User.DefaultAvatar |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static User.DefaultAvatar[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final User.DefaultAvatar BLURPLE
public static final User.DefaultAvatar GREY
public static final User.DefaultAvatar GREEN
public static final User.DefaultAvatar ORANGE
public static final User.DefaultAvatar RED
public static User.DefaultAvatar[] values()
for (User.DefaultAvatar c : User.DefaultAvatar.values()) System.out.println(c);
public static User.DefaultAvatar valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<User.DefaultAvatar>