Enum Constant and Description |
---|
CHASE_FREEDOM |
CHASE_INK |
CHASE_SAPPHIRE |
CHASE_SAPPHIRE_AP |
CHASE_SLATE |
CHASE_SLATE_AP |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static CardBrand |
findCardBrand(int first6) |
int |
getMaxRange() |
int |
getMinRange() |
static CardBrand |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardBrand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardBrand CHASE_SAPPHIRE
public static final CardBrand CHASE_SAPPHIRE_AP
public static final CardBrand CHASE_FREEDOM
public static final CardBrand CHASE_INK
public static final CardBrand CHASE_SLATE
public static final CardBrand CHASE_SLATE_AP
public static final CardBrand UNKNOWN
public static CardBrand[] values()
for (CardBrand c : CardBrand.values()) System.out.println(c);
public static CardBrand 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 int getMinRange()
public int getMaxRange()
public static CardBrand findCardBrand(int first6)