com.croftsoft.apps.ajgp.data
Enum EnumData.EnumInteger

java.lang.Object
  extended by java.lang.Enum<EnumData.EnumInteger>
      extended by 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>


Enum Constant Summary
HEALTH
           
WEALTH
           
WISDOM
           
 
Method Summary
static EnumData.EnumInteger valueOf(String name)
          Returns the enum constant of this type with the specified name.
static EnumData.EnumInteger[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

HEALTH

public static final EnumData.EnumInteger HEALTH

WEALTH

public static final EnumData.EnumInteger WEALTH

WISDOM

public static final EnumData.EnumInteger WISDOM
Method Detail

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 Javadoc

CroftSoft Apps Javadoc (2008-09-28 21:15:07)