public static enum Java.Primitive extends Enum<Java.Primitive>
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
VOID |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Java.Primitive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Java.Primitive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Java.Primitive VOID
public static final Java.Primitive BYTE
public static final Java.Primitive SHORT
public static final Java.Primitive CHAR
public static final Java.Primitive INT
public static final Java.Primitive LONG
public static final Java.Primitive FLOAT
public static final Java.Primitive DOUBLE
public static final Java.Primitive BOOLEAN
public static Java.Primitive[] values()
for (Java.Primitive c : Java.Primitive.values()) System.out.println(c);
public static Java.Primitive 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 nullpublic String toString()
toString in class Enum<Java.Primitive>