public static enum GraphAlgorithmState.State extends Enum<GraphAlgorithmState.State>
Enum Constant and Description |
---|
COMPLETED |
CREATED |
ERROR |
HALTED |
RUNNING |
Modifier and Type | Method and Description |
---|---|
int |
code() |
static GraphAlgorithmState.State |
get(int code) |
static GraphAlgorithmState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphAlgorithmState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphAlgorithmState.State CREATED
public static final GraphAlgorithmState.State RUNNING
public static final GraphAlgorithmState.State COMPLETED
public static final GraphAlgorithmState.State HALTED
public static final GraphAlgorithmState.State ERROR
public static GraphAlgorithmState.State[] values()
for (GraphAlgorithmState.State c : GraphAlgorithmState.State.values()) System.out.println(c);
public static GraphAlgorithmState.State 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 code()
public static GraphAlgorithmState.State get(int code)
Copyright © 2020. All rights reserved.