public static enum JNode.Type extends Enum<JNode.Type>
Enum Constant and Description |
---|
ARRAY |
BOOLEAN |
NUMBER |
OBJECT |
STRING |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static JNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JNode.Type UNDEFINED
public static final JNode.Type OBJECT
public static final JNode.Type ARRAY
public static final JNode.Type STRING
public static final JNode.Type BOOLEAN
public static final JNode.Type NUMBER
public static JNode.Type[] values()
for (JNode.Type c : JNode.Type.values()) System.out.println(c);
public static JNode.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 null