public enum NodeState extends Enum<NodeState>
Modifier and Type | Method and Description |
---|---|
int |
value()
Get the enum identifier.
|
static NodeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeState ONLINE
public static final NodeState OFFLINE
public static NodeState[] values()
for (NodeState c : NodeState.values()) System.out.println(c);
public static NodeState 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 value()
Copyright © 2015 University of Nice-Sophia Antipolis. All Rights Reserved.