org.eigenbase.test
Enum SargTest.Zodiac
java.lang.Object
java.lang.Enum<SargTest.Zodiac>
org.eigenbase.test.SargTest.Zodiac
- All Implemented Interfaces:
- Serializable, Comparable<SargTest.Zodiac>
- Enclosing class:
- SargTest
static enum SargTest.Zodiac
- extends Enum<SargTest.Zodiac>
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. |
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
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