public static enum Comments.NodeType extends Enum<Comments.NodeType>
| Enum Constant and Description |
|---|
KEY
The comments are attached to the key node of the mapping.
|
VALUE
The comments are attached to the value node of the mapping.
|
| Modifier and Type | Method and Description |
|---|---|
static Comments.NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comments.NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comments.NodeType KEY
public static final Comments.NodeType VALUE
public static Comments.NodeType[] values()
for (Comments.NodeType c : Comments.NodeType.values()) System.out.println(c);
public static Comments.NodeType 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 © 2022. All rights reserved.