Module jakarta.cdi.lang.model
Enum PrimitiveType.PrimitiveKind
java.lang.Object
java.lang.Enum<PrimitiveType.PrimitiveKind>
jakarta.enterprise.lang.model.types.PrimitiveType.PrimitiveKind
- All Implemented Interfaces:
Serializable,Comparable<PrimitiveType.PrimitiveKind>
- Enclosing interface:
- PrimitiveType
The primitive type kind: boolean, byte, short, int, long, float, double, char
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic PrimitiveType.PrimitiveKindReturns the enum constant of this type with the specified name.static PrimitiveType.PrimitiveKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
Thebooleanprimitive type -
BYTE
Thebyteprimitive type -
SHORT
Theshortprimitive type -
INT
Theintprimitive type -
LONG
Thelongprimitive type -
FLOAT
Thefloatprimitive type -
DOUBLE
Thedoubleprimitive type -
CHAR
Thecharprimitive type
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-