public static enum TransactionInput.ConnectionResult extends java.lang.Enum<TransactionInput.ConnectionResult>
Enum Constant and Description |
---|
ALREADY_SPENT |
NO_SUCH_TX |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static TransactionInput.ConnectionResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionInput.ConnectionResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionInput.ConnectionResult NO_SUCH_TX
public static final TransactionInput.ConnectionResult ALREADY_SPENT
public static final TransactionInput.ConnectionResult SUCCESS
public static TransactionInput.ConnectionResult[] values()
for (TransactionInput.ConnectionResult c : TransactionInput.ConnectionResult.values()) System.out.println(c);
public static TransactionInput.ConnectionResult 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