public static enum PromiseState.State extends Enum<PromiseState.State>
| Modifier and Type | Method and Description |
|---|---|
static PromiseState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PromiseState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PromiseState.State FULFILLED
public static final PromiseState.State REJECTED
public static final PromiseState.State PENDING
public static PromiseState.State[] values()
for (PromiseState.State c : PromiseState.State.values()) System.out.println(c);
public static PromiseState.State 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 © 2013-2014 Englishtown. All Rights Reserved.