public enum EmotionType extends java.lang.Enum<EmotionType>
Enum Constant and Description |
---|
Anger |
Disgust |
Fear |
Happy |
Neutral |
Puzzled |
Sad |
Surprise |
Modifier and Type | Method and Description |
---|---|
static EmotionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EmotionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EmotionType Neutral
public static final EmotionType Anger
public static final EmotionType Disgust
public static final EmotionType Fear
public static final EmotionType Sad
public static final EmotionType Happy
public static final EmotionType Surprise
public static final EmotionType Puzzled
public static EmotionType[] values()
for (EmotionType c : EmotionType.values()) System.out.println(c);
public static EmotionType 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 null