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