public static enum TronTransaction.Code extends Enum<TronTransaction.Code>
| Enum Constant and Description |
|---|
FAILED |
SUCCESS |
UNRECOGNIZED |
| Modifier and Type | Method and Description |
|---|---|
static TronTransaction.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TronTransaction.Code[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TronTransaction.Code SUCCESS
public static final TronTransaction.Code FAILED
public static final TronTransaction.Code UNRECOGNIZED
public static TronTransaction.Code[] values()
for (TronTransaction.Code c : TronTransaction.Code.values()) System.out.println(c);
public static TronTransaction.Code 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 © 2020. All rights reserved.