public enum PrimitiveValueType extends Enum<PrimitiveValueType>
Enum Constant and Description |
---|
BOOL
Boolean.
|
BYTE
Byte.
|
DOUBLE
Double.
|
FLOAT
Float.
|
INTEGER
Integer.
|
LONG
Long.
|
SHORT
Short.
|
STRING
String.
|
Modifier and Type | Method and Description |
---|---|
String |
getTypeName()
Returns the name of the type.
|
String |
toString() |
static PrimitiveValueType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveValueType BYTE
public static final PrimitiveValueType SHORT
public static final PrimitiveValueType INTEGER
public static final PrimitiveValueType LONG
public static final PrimitiveValueType FLOAT
public static final PrimitiveValueType DOUBLE
public static final PrimitiveValueType BOOL
public static final PrimitiveValueType STRING
public static PrimitiveValueType[] values()
for (PrimitiveValueType c : PrimitiveValueType.values()) System.out.println(c);
public static PrimitiveValueType 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 getTypeName()
public String toString()
toString
in class Enum<PrimitiveValueType>