public static enum Node.ReturnType extends java.lang.Enum<Node.ReturnType>
Enum Constant and Description |
---|
ID_AS_KEY |
NAME_AS_KEY |
Modifier and Type | Method and Description |
---|---|
static Node.ReturnType |
getRetrunType(java.lang.String value) |
static Node.ReturnType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Node.ReturnType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Node.ReturnType ID_AS_KEY
public static final Node.ReturnType NAME_AS_KEY
public static Node.ReturnType[] values()
for (Node.ReturnType c : Node.ReturnType.values()) System.out.println(c);
public static Node.ReturnType 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 Node.ReturnType getRetrunType(java.lang.String value)
value
-