public enum RsvpStatus extends Enum<RsvpStatus>
Enum Constant and Description |
---|
ATTENDING |
DECLINED |
MAYBE |
NOT_REPLIED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static RsvpStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RsvpStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RsvpStatus ATTENDING
public static final RsvpStatus DECLINED
public static final RsvpStatus MAYBE
public static final RsvpStatus NOT_REPLIED
public static final RsvpStatus UNKNOWN
public static RsvpStatus[] values()
for (RsvpStatus c : RsvpStatus.values()) System.out.println(c);
public static RsvpStatus 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 null