public enum NodeType extends Enum<NodeType>
| Enum Constant and Description |
|---|
CONTROLLER |
PHYSICAL |
UNKNOWN |
VIRTUAL |
| Modifier and Type | Method and Description |
|---|---|
static NodeType |
getByValue(int value)
Get enum element by integer value
|
int |
getValue()
Get integer value
|
static NodeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType UNKNOWN
public static final NodeType PHYSICAL
public static final NodeType VIRTUAL
public static final NodeType CONTROLLER
public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static 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 nullpublic int getValue()
public static NodeType getByValue(int value)
value - integer valueCopyright © 2017. All rights reserved.