public enum HoroscopeReading extends java.lang.Enum<HoroscopeReading>
Enum Constant and Description |
---|
Career |
Daily_Horoscope |
Love |
Monthly_Horoscope |
Weekly_Horoscope |
Wellness |
Modifier and Type | Method and Description |
---|---|
static HoroscopeReading |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HoroscopeReading[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HoroscopeReading Daily_Horoscope
public static final HoroscopeReading Weekly_Horoscope
public static final HoroscopeReading Monthly_Horoscope
public static final HoroscopeReading Love
public static final HoroscopeReading Career
public static final HoroscopeReading Wellness
public static HoroscopeReading[] values()
for (HoroscopeReading c : HoroscopeReading.values()) System.out.println(c);
public static HoroscopeReading valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null