public static enum TreeNode.Type extends Enum<TreeNode.Type>
| Enum Constant and Description |
|---|
ARRAY_NODE |
MAP_NODE |
VALUE_NODE |
| Modifier and Type | Method and Description |
|---|---|
static TreeNode.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TreeNode.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TreeNode.Type MAP_NODE
public static final TreeNode.Type ARRAY_NODE
public static final TreeNode.Type VALUE_NODE
public static TreeNode.Type[] values()
for (TreeNode.Type c : TreeNode.Type.values()) System.out.println(c);
public static TreeNode.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 nullCopyright © 2013-2018–2019 SeedStack. All rights reserved.