public static enum StoryLike.Emotion extends Enum<StoryLike.Emotion>
Enum Constant and Description |
---|
CHEER_UP
힘내요
|
COOL
멋져요
|
HAPPY
기뻐요
|
LIKE
좋아요
|
NOT_DEFINED
정의되지 않은 느낌
|
SAD
슬퍼요
|
Modifier and Type | Method and Description |
---|---|
static StoryLike.Emotion |
getEmotion(String emotionString) |
static StoryLike.Emotion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoryLike.Emotion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoryLike.Emotion CHEER_UP
public static final StoryLike.Emotion COOL
public static final StoryLike.Emotion HAPPY
public static final StoryLike.Emotion LIKE
public static final StoryLike.Emotion NOT_DEFINED
public static final StoryLike.Emotion SAD
public static StoryLike.Emotion getEmotion(String emotionString)
public static StoryLike.Emotion 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 static StoryLike.Emotion[] values()
for (StoryLike.Emotion c : StoryLike.Emotion.values()) System.out.println(c);