public static enum PrimitiveType.Kind extends java.lang.Enum<PrimitiveType.Kind>
Enum Constant and Description |
---|
BOOLEAN
The primitive type boolean
|
BYTE
The primitive type byte
|
CHAR
The primitive type char
|
DOUBLE
The primitive type double
|
FLOAT
The primitive type float
|
INT
The primitive type int
|
LONG
The primitive type long
|
SHORT
The primitive type short
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveType.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType.Kind BOOLEAN
public static final PrimitiveType.Kind BYTE
public static final PrimitiveType.Kind SHORT
public static final PrimitiveType.Kind INT
public static final PrimitiveType.Kind LONG
public static final PrimitiveType.Kind CHAR
public static final PrimitiveType.Kind FLOAT
public static final PrimitiveType.Kind DOUBLE
public static PrimitiveType.Kind[] values()
for (PrimitiveType.Kind c : PrimitiveType.Kind.values()) System.out.println(c);
public static PrimitiveType.Kind 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 null