java.io.Serializable
, java.lang.Comparable<Mood.MoodType>
protected static enum Mood.MoodType extends java.lang.Enum<Mood.MoodType>
Enum Constant | Description |
---|---|
ANGRY |
|
APATHETIC |
|
EXCITED |
|
FORMAL |
|
GRUMPY |
|
HAPPY |
|
HAPPYSILLY |
|
LONELY |
|
MEAN |
|
POLITE |
|
PROUD |
|
REFLECTIVE |
|
RUDE |
|
SAD |
|
SCARED |
|
SILLY |
Modifier and Type | Method | Description |
---|---|---|
static Mood.MoodType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Mood.MoodType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Mood.MoodType FORMAL
public static final Mood.MoodType POLITE
public static final Mood.MoodType HAPPY
public static final Mood.MoodType HAPPYSILLY
public static final Mood.MoodType SAD
public static final Mood.MoodType ANGRY
public static final Mood.MoodType RUDE
public static final Mood.MoodType MEAN
public static final Mood.MoodType PROUD
public static final Mood.MoodType GRUMPY
public static final Mood.MoodType EXCITED
public static final Mood.MoodType SCARED
public static final Mood.MoodType LONELY
public static final Mood.MoodType REFLECTIVE
public static final Mood.MoodType SILLY
public static final Mood.MoodType APATHETIC
public static Mood.MoodType[] values()
for (Mood.MoodType c : Mood.MoodType.values()) System.out.println(c);
public static Mood.MoodType 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