public static enum ProofOfWorkRequest.Request extends java.lang.Enum<ProofOfWorkRequest.Request>
| Enum Constant and Description |
|---|
CALCULATE |
CALCULATING |
COMPLETE |
| Modifier and Type | Method and Description |
|---|---|
static ProofOfWorkRequest.Request |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProofOfWorkRequest.Request[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProofOfWorkRequest.Request CALCULATE
public static final ProofOfWorkRequest.Request CALCULATING
public static final ProofOfWorkRequest.Request COMPLETE
public static ProofOfWorkRequest.Request[] values()
for (ProofOfWorkRequest.Request c : ProofOfWorkRequest.Request.values()) System.out.println(c);
public static ProofOfWorkRequest.Request valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null