org.eigenbase.test
Enum SargTest.Zodiac

java.lang.Object
  extended by java.lang.Enum<SargTest.Zodiac>
      extended by org.eigenbase.test.SargTest.Zodiac
All Implemented Interfaces:
Serializable, Comparable<SargTest.Zodiac>
Enclosing class:
SargTest

static enum SargTest.Zodiac
extends Enum<SargTest.Zodiac>


Enum Constant Summary
AQUARIUS
           
ARIES
           
CANCER
           
CAPRICORN
           
GEMINI
           
LEO
           
LIBRA
           
PISCES
           
SAGITTARIUS
           
SCORPIO
           
TAURUS
           
VIRGO
           
 
Method Summary
static SargTest.Zodiac valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SargTest.Zodiac[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AQUARIUS

public static final SargTest.Zodiac AQUARIUS

ARIES

public static final SargTest.Zodiac ARIES

CANCER

public static final SargTest.Zodiac CANCER

CAPRICORN

public static final SargTest.Zodiac CAPRICORN

GEMINI

public static final SargTest.Zodiac GEMINI

LEO

public static final SargTest.Zodiac LEO

LIBRA

public static final SargTest.Zodiac LIBRA

PISCES

public static final SargTest.Zodiac PISCES

SAGITTARIUS

public static final SargTest.Zodiac SAGITTARIUS

SCORPIO

public static final SargTest.Zodiac SCORPIO

TAURUS

public static final SargTest.Zodiac TAURUS

VIRGO

public static final SargTest.Zodiac VIRGO
Method Detail

values

public static final SargTest.Zodiac[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(SargTest.Zodiac c : SargTest.Zodiac.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static SargTest.Zodiac 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