public enum CustomCard extends Enum<CustomCard>
Enum Constant and Description |
---|
Custom1
Custom card 1.
|
Custom2
Custom card 2.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Returns the integer representation of the CustomCard enumeration member.
|
static CustomCard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomCard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomCard Custom1
public static final CustomCard Custom2
public static CustomCard[] values()
for (CustomCard c : CustomCard.values()) System.out.println(c);
public static CustomCard 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 int getValue()
© 2016 ZIH Corp. All Rights Reserved.