public static enum AccountKey.Type extends java.lang.Enum<AccountKey.Type>
Enum Constant and Description |
---|
FAIL |
LEGACY |
MULTISIG |
NIL |
PUBLIC |
ROLEBASED |
Modifier and Type | Method and Description |
---|---|
static AccountKey.Type |
findByValue(byte value) |
java.lang.Class |
getClazz() |
byte |
getValue() |
static AccountKey.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountKey.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountKey.Type NIL
public static final AccountKey.Type LEGACY
public static final AccountKey.Type PUBLIC
public static final AccountKey.Type FAIL
public static final AccountKey.Type MULTISIG
public static final AccountKey.Type ROLEBASED
public static AccountKey.Type[] values()
for (AccountKey.Type c : AccountKey.Type.values()) System.out.println(c);
public static AccountKey.Type 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 java.lang.Class getClazz()
public static AccountKey.Type findByValue(byte value)