public enum Thematics extends Enum<Thematics>
| Enum Constant and Description |
|---|
Adventure |
Childish |
History |
ScienceFiction |
Terror |
Thirller |
| Modifier and Type | Method and Description |
|---|---|
static Thematics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Thematics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Thematics Adventure
public static final Thematics ScienceFiction
public static final Thematics History
public static final Thematics Childish
public static final Thematics Thirller
public static final Thematics Terror
public static Thematics[] values()
for (Thematics c : Thematics.values()) System.out.println(c);
public static Thematics valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.