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