public static enum DAG.TraversalOrder extends Enum<DAG.TraversalOrder>
Modifier and Type | Method and Description |
---|---|
static DAG.TraversalOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DAG.TraversalOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DAG.TraversalOrder PreOrder
public static final DAG.TraversalOrder PostOrder
public static DAG.TraversalOrder[] values()
for (DAG.TraversalOrder c : DAG.TraversalOrder.values()) System.out.println(c);
public static DAG.TraversalOrder 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 © 2018. All rights reserved.