java.io.Serializable
, java.lang.Comparable<NSmartContract.SmartContractType>
public static enum NSmartContract.SmartContractType extends java.lang.Enum<NSmartContract.SmartContractType>
Enum Constant | Description |
---|---|
FOLLOWER1 |
|
N_SMART_CONTRACT |
|
SLOT1 |
|
UNS1 |
|
UNS2 |
Modifier and Type | Method | Description |
---|---|---|
static NSmartContract.SmartContractType |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static NSmartContract.SmartContractType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NSmartContract.SmartContractType N_SMART_CONTRACT
public static final NSmartContract.SmartContractType SLOT1
public static final NSmartContract.SmartContractType UNS1
public static final NSmartContract.SmartContractType UNS2
public static final NSmartContract.SmartContractType FOLLOWER1
public static NSmartContract.SmartContractType[] values()
for (NSmartContract.SmartContractType c : NSmartContract.SmartContractType.values()) System.out.println(c);
public static NSmartContract.SmartContractType 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