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