public static enum AccountType.Key extends java.lang.Enum<AccountType.Key>
Modifier and Type | Method and Description |
---|---|
int |
getKeyType() |
static AccountType.Key |
getType(int keyType) |
static AccountType.Key |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccountType.Key[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccountType.Key EOA
public static final AccountType.Key CONTRACT
public static AccountType.Key[] values()
for (AccountType.Key c : AccountType.Key.values()) System.out.println(c);
public static AccountType.Key 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 static AccountType.Key getType(int keyType)
public int getKeyType()