public static enum GraphComputer.ResultGraph extends Enum<GraphComputer.ResultGraph>
| Enum Constant and Description | 
|---|
| NEWWhen the computation is complete, the  GraphinComputerResultis a new graph cloned from the original graph. | 
| ORIGINALWhen the computation is complete, the  GraphinComputerResultis the original graph that spawned the graph computer. | 
| Modifier and Type | Method and Description | 
|---|---|
| static GraphComputer.ResultGraph | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static GraphComputer.ResultGraph[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final GraphComputer.ResultGraph ORIGINAL
Graph in ComputerResult is the original graph that spawned the graph computer.public static final GraphComputer.ResultGraph NEW
Graph in ComputerResult is a new graph cloned from the original graph.public static GraphComputer.ResultGraph[] values()
for (GraphComputer.ResultGraph c : GraphComputer.ResultGraph.values()) System.out.println(c);
public static GraphComputer.ResultGraph 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 nullCopyright © 2013–2017 Apache Software Foundation. All rights reserved.