public static enum Dot.OutputOrder extends Enum<Dot.OutputOrder>
Enum Constant and Description |
---|
BFS
Generate the dot output in the order of a breadth-first traversal of the graph.
|
SORTED
Generate the dot output in the sorted natural order of the nodes.
|
Modifier and Type | Method and Description |
---|---|
static Dot.OutputOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dot.OutputOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dot.OutputOrder BFS
public static final Dot.OutputOrder SORTED
public static Dot.OutputOrder[] values()
for (Dot.OutputOrder c : Dot.OutputOrder.values()) System.out.println(c);
public static Dot.OutputOrder 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 null