| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<EntryType> |
findByName(java.lang.String name) |
static EntryType |
getByName(java.lang.String type) |
static boolean |
isPresent(java.lang.String name) |
static EntryType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryType PERSONAL
public static final EntryType INTERNAL
public static final EntryType UPSA
public static EntryType[] values()
for (EntryType c : EntryType.values()) System.out.println(c);
public static EntryType 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 nullpublic static EntryType getByName(java.lang.String type)
public static java.util.Optional<EntryType> findByName(java.lang.String name)
public static boolean isPresent(java.lang.String name)