public static enum Request.RequestState extends Enum<Request.RequestState> implements EnumValue<Integer>
Modifier and Type | Method and Description |
---|---|
Integer |
getValue() |
static Request.RequestState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Request.RequestState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Request.RequestState requested
public static final Request.RequestState declined
public static final Request.RequestState accepted
public static Request.RequestState[] values()
for (Request.RequestState c : Request.RequestState.values()) System.out.println(c);
public static Request.RequestState 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 © 2014 Equilibrium. All rights reserved.