public static enum Account.AccountType extends Enum<Account.AccountType>
| Enum Constant and Description |
|---|
credit |
current |
deposit |
loan |
other |
savings |
| Modifier and Type | Method and Description |
|---|---|
static Account.AccountType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Account.AccountType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Account.AccountType current
public static final Account.AccountType savings
public static final Account.AccountType loan
public static final Account.AccountType credit
public static final Account.AccountType deposit
public static final Account.AccountType other
public static Account.AccountType[] values()
for (Account.AccountType c : Account.AccountType.values()) System.out.println(c);
public static Account.AccountType 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 © 2021–2022 Dapi. All rights reserved.