public enum PlusFriendRelation extends Enum<PlusFriendRelation>
Enum Constant and Description |
---|
ADDED
추가된 상태
|
BLOCKED
차단 상태
|
NONE
관계없음
|
UNKNOWN
UNKNOWN
|
Modifier and Type | Method and Description |
---|---|
static PlusFriendRelation |
fromName(String relationName) |
String |
getName() |
static PlusFriendRelation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlusFriendRelation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlusFriendRelation ADDED
public static final PlusFriendRelation BLOCKED
public static final PlusFriendRelation NONE
public static final PlusFriendRelation UNKNOWN
public static PlusFriendRelation fromName(String relationName)
public String getName()
public static PlusFriendRelation 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 PlusFriendRelation[] values()
for (PlusFriendRelation c : PlusFriendRelation.values()) System.out.println(c);