public static enum ConstantNode.Type extends java.lang.Enum<ConstantNode.Type>
Enum Constant and Description |
---|
BOOLEAN
Boolean.
|
NULL
Null.
|
NUMBER
Number.
|
STRING
String.
|
UNDEFINED
Undefined.
|
Modifier and Type | Method and Description |
---|---|
static ConstantNode.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConstantNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConstantNode.Type BOOLEAN
public static final ConstantNode.Type NULL
public static final ConstantNode.Type NUMBER
public static final ConstantNode.Type STRING
public static final ConstantNode.Type UNDEFINED
public static ConstantNode.Type 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 nullpublic static ConstantNode.Type[] values()
for (ConstantNode.Type c : ConstantNode.Type.values()) System.out.println(c);
Copyright © 2009-2019 Aarhus University