public static enum CreditCard.Payroll extends Enum<CreditCard.Payroll>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static CreditCard.Payroll |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CreditCard.Payroll[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreditCard.Payroll YES
public static final CreditCard.Payroll NO
public static final CreditCard.Payroll UNKNOWN
private final String value
public static CreditCard.Payroll[] values()
for (CreditCard.Payroll c : CreditCard.Payroll.values()) System.out.println(c);
public static CreditCard.Payroll 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 String toString()
toString
in class Enum<CreditCard.Payroll>
Copyright © 2013-2020. All Rights Reserved.