public static enum RestFriendship.FriendState extends Enum<RestFriendship.FriendState>
| Enum Constant and Description |
|---|
BLOCKED |
CONFIRMED |
PENDING |
REQUEST |
| Modifier and Type | Method and Description |
|---|---|
static RestFriendship.FriendState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestFriendship.FriendState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RestFriendship.FriendState CONFIRMED
public static final RestFriendship.FriendState BLOCKED
public static final RestFriendship.FriendState PENDING
public static final RestFriendship.FriendState REQUEST
public static RestFriendship.FriendState[] values()
for (RestFriendship.FriendState c : RestFriendship.FriendState.values()) System.out.println(c);
public static RestFriendship.FriendState 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 nullCopyright © 2020 Empyr, Inc.. All rights reserved.