com.croftsoft.apps.ajgp.data
Enum EnumData.EnumInteger
java.lang.Object
java.lang.Enum<EnumData.EnumInteger>
com.croftsoft.apps.ajgp.data.EnumData.EnumInteger
- All Implemented Interfaces:
- Serializable, Comparable<EnumData.EnumInteger>
- Enclosing interface:
- EnumData
public static enum EnumData.EnumInteger
- extends Enum<EnumData.EnumInteger>
HEALTH
public static final EnumData.EnumInteger HEALTH
WEALTH
public static final EnumData.EnumInteger WEALTH
WISDOM
public static final EnumData.EnumInteger WISDOM
values
public static EnumData.EnumInteger[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EnumData.EnumInteger c : EnumData.EnumInteger.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EnumData.EnumInteger valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
CroftSoft Apps Javadoc (2008-09-28 21:15:07)