public static enum PrimitiveType.Primitive extends Enum<PrimitiveType.Primitive>
PrimitiveType
Enum Constant and Description |
---|
BOOLEAN
Indicates a primitive boolean type
|
BYTE
Indicates a primitive byte type
|
CHAR
Indicates a primitive character type
|
DOUBLE
Indicates a primitive double type
|
FLOAT
Indicates a primitive float type
|
INT
Indicates a primitive integer type
|
LONG
Indicates a primitive long type
|
SHORT
Indicates a primitive short type
|
Modifier and Type | Method and Description |
---|---|
static PrimitiveType.Primitive |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveType.Primitive[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveType.Primitive BYTE
public static final PrimitiveType.Primitive CHAR
public static final PrimitiveType.Primitive DOUBLE
public static final PrimitiveType.Primitive FLOAT
public static final PrimitiveType.Primitive INT
public static final PrimitiveType.Primitive LONG
public static final PrimitiveType.Primitive SHORT
public static final PrimitiveType.Primitive BOOLEAN
public static PrimitiveType.Primitive[] values()
for (PrimitiveType.Primitive c : PrimitiveType.Primitive.values()) System.out.println(c);
public static PrimitiveType.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 nullCopyright © 2018 JBoss by Red Hat. All rights reserved.