public enum AvatarType extends Enum<AvatarType>
| Modifier and Type | Method and Description |
|---|---|
static AvatarType |
getByName(String value) |
String |
toString() |
static AvatarType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvatarType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvatarType FILE
public static final AvatarType ICON
public static AvatarType[] values()
for (AvatarType c : AvatarType.values()) System.out.println(c);
public static AvatarType 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<AvatarType>public static AvatarType getByName(String value)
Copyright © 2014. All Rights Reserved.