public enum Evangelist extends Enum<Evangelist>
Enumeration of the four evangelists of the bible, used in some calendars with historic or religious context.
| Modifier and Type | Method and Description |
|---|---|
String |
getDisplayName(Locale locale)
Determines a translation of this instance with fallback to Roman numerals.
|
static Evangelist |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Evangelist[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Evangelist MATTHEW
public static final Evangelist MARK
public static final Evangelist LUKE
public static final Evangelist JOHN
public static Evangelist[] values()
for (Evangelist c : Evangelist.values()) System.out.println(c);
public static Evangelist 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 © 2014–2021. All rights reserved.