Enum Class TypeCategory
- All Implemented Interfaces:
Serializable
,Comparable<TypeCategory>
,Constable
Categories for native types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionComplex number type, usually a built-in type aggregating two floating-points.Composite type, such as an array or a structure or union.Floating point type (IEEE-754).Integral type (2-complement integer, signed or unsigned).Pointer type.Vector type.The pseudo-category used by thevoid
(none) type. -
Method Summary
Modifier and TypeMethodDescriptionstatic TypeCategory
Returns the enum constant of this class with the specified name.static TypeCategory[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
VOID
The pseudo-category used by thevoid
(none) type. -
POINTER
Pointer type. -
INTEGRAL
Integral type (2-complement integer, signed or unsigned). -
FLOAT
Floating point type (IEEE-754). -
COMPLEX
Complex number type, usually a built-in type aggregating two floating-points. -
VECTOR
Vector type. -
COMPOSITE
Composite type, such as an array or a structure or union.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-