public enum PrimitiveKind extends Enum<PrimitiveKind>
Enum Constant and Description |
---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
Modifier and Type | Method and Description |
---|---|
static PrimitiveKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveKind INT
public static final PrimitiveKind LONG
public static final PrimitiveKind SHORT
public static final PrimitiveKind BOOLEAN
public static final PrimitiveKind FLOAT
public static final PrimitiveKind DOUBLE
public static final PrimitiveKind CHAR
public static final PrimitiveKind BYTE
public static PrimitiveKind[] values()
for (PrimitiveKind c : PrimitiveKind.values()) System.out.println(c);
public static PrimitiveKind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null