public enum VMState extends Enum<VMState>
Enum Constant and Description |
---|
INIT |
KILLED |
READY |
RUNNING |
SLEEPING |
Modifier and Type | Method and Description |
---|---|
int |
value()
Get the enum identifier.
|
static VMState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VMState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VMState INIT
public static final VMState READY
public static final VMState RUNNING
public static final VMState SLEEPING
public static final VMState KILLED
public static VMState[] values()
for (VMState c : VMState.values()) System.out.println(c);
public static VMState 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.