public static enum Bill.TypeEnum extends Enum<Bill.TypeEnum>
| Modifier and Type | Method and Description |
|---|---|
static Bill.TypeEnum |
fromValue(String text) |
String |
toString() |
static Bill.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Bill.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Bill.TypeEnum RECEIPT
public static final Bill.TypeEnum INVOICE
public static Bill.TypeEnum[] values()
for (Bill.TypeEnum c : Bill.TypeEnum.values()) System.out.println(c);
public static Bill.TypeEnum 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 Bill.TypeEnum fromValue(String text)
public String toString()
toString in class Enum<Bill.TypeEnum>Copyright © 2023. All rights reserved.