public static enum CLKeyInfo.KeyType extends Enum<CLKeyInfo.KeyType> implements HasTag
| Enum Constant and Description |
|---|
ACCOUNT_ID
The Account variant
|
HASH_ID
The Hash variant
|
UREF_ID
The URef variant
|
| Modifier and Type | Method and Description |
|---|---|
String |
getParsedName() |
int |
getTag()
Obtains the byte tag for this type of casper object
|
static CLKeyInfo.KeyType |
valueOf(byte tag) |
static CLKeyInfo.KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CLKeyInfo.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CLKeyInfo.KeyType ACCOUNT_ID
public static final CLKeyInfo.KeyType HASH_ID
public static final CLKeyInfo.KeyType UREF_ID
public static CLKeyInfo.KeyType[] values()
for (CLKeyInfo.KeyType c : CLKeyInfo.KeyType.values()) System.out.println(c);
public static CLKeyInfo.KeyType 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 nullpublic static CLKeyInfo.KeyType valueOf(byte tag)
public int getTag()
HasTagpublic String getParsedName()
Copyright © 2022. All rights reserved.