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