JavaScript is disabled on your browser.
 
Description Nested Class Summary Enum Constant Summary Method Summary Enum Constant Details 
BOOLEAN BYTE SHORT INT LONG CHAR FLOAT DOUBLE VOID NONE NULL ARRAY DECLARED ERROR TYPEVAR WILDCARD PACKAGE EXECUTABLE OTHER UNION INTERSECTION MODULE  
Method Details 
values() valueOf(String) isPrimitive()  
 
 
 
Enum Constant Summary 
Enum Constants 
The primitive type boolean.
 
A class or interface type.
 
The primitive type double.
 
A class or interface type that could not be resolved.
 
A method, constructor, or initializer.
 
The primitive type float.
 
A pseudo-type corresponding to a module element.
 
A pseudo-type used where no actual type is appropriate.
 
An implementation-reserved type.
 
A pseudo-type corresponding to a package element.
 
The primitive type short.
 
The pseudo-type corresponding to the keyword void.
 
A wildcard type argument.
 
 
 
 
Method Summary 
All Methods Static Methods Instance Methods Concrete Methods 
boolean
Returns true if this kind corresponds to a primitive
 type and false otherwise.
 
Returns the enum constant of this class with the specified name.
 
Returns an array containing the constants of this enum class, in
the order they are declared.
 
 
 
 
Methods declared in class java.lang.Enum  
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf  
 
 
 
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Other versions. Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy .