public static enum PrimitiveType.PrimitiveKind extends java.lang.Enum<PrimitiveType.PrimitiveKind>
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
Modifier and Type | Method and Description |
---|---|
static PrimitiveType.PrimitiveKind |
valueOf(java.lang.String name)
Returns 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.
|
public static final PrimitiveType.PrimitiveKind BOOLEAN
public static final PrimitiveType.PrimitiveKind BYTE
public static final PrimitiveType.PrimitiveKind SHORT
public static final PrimitiveType.PrimitiveKind INT
public static final PrimitiveType.PrimitiveKind LONG
public static final PrimitiveType.PrimitiveKind FLOAT
public static final PrimitiveType.PrimitiveKind DOUBLE
public static final PrimitiveType.PrimitiveKind CHAR
public static PrimitiveType.PrimitiveKind[] values()
for (PrimitiveType.PrimitiveKind c : PrimitiveType.PrimitiveKind.values()) System.out.println(c);
public static PrimitiveType.PrimitiveKind 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