Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Class and Description |
---|---|
class |
Enum<E extends Enum<E>>
This is the common base class of all Java language enumeration types.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Enum<T>> |
Enum.valueOf(Class<T> enumType,
String name)
Returns the enum constant of the specified enum type with the
specified name.
|
Modifier and Type | Method and Description |
---|---|
Class<? extends Enum> |
EnumConstantNotPresentException.enumType()
Returns the type of the missing enum constant.
|
Constructor and Description |
---|
EnumConstantNotPresentException(Class<? extends Enum> enumType,
String constantName)
Constructs an EnumConstantNotPresentException for the
specified constant.
|