public enum JValueType extends java.lang.Enum<JValueType>
Enum Constant and Description |
---|
BOOLEAN
Value type is Boolean class instance.
|
DOUBLE
Value type is Double class instance.
|
FLOAT
Value type is Float class instance.
|
INTEGER
Value type is Integer class instance.
|
LONG
Value type is Long class instance.
|
NULL
Value type is Object class instance with value == null.
|
STRING
Value type is String class instance.
|
Modifier and Type | Method and Description |
---|---|
static JValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JValueType STRING
public static final JValueType INTEGER
public static final JValueType LONG
public static final JValueType DOUBLE
public static final JValueType FLOAT
public static final JValueType BOOLEAN
public static final JValueType NULL
public static JValueType[] values()
for (JValueType c : JValueType.values()) System.out.println(c);
public static JValueType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null