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