public static enum TransactionInput.ConnectionResult extends Enum<TransactionInput.ConnectionResult>
Enum Constant and Description |
---|
ALREADY_SPENT |
NO_SUCH_TX |
SUCCESS |
Modifier and Type | Method and Description |
---|---|
static TransactionInput.ConnectionResult |
valueOf(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(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 © 2016. All rights reserved.