public static enum DepthFirstSearch.EdgeType extends java.lang.Enum<DepthFirstSearch.EdgeType>
Enum Constant and Description |
---|
BACK_EDGE |
CROSS_EDGE |
FORWARD_EDGE |
TREE_EDGE |
Modifier and Type | Method and Description |
---|---|
static DepthFirstSearch.EdgeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DepthFirstSearch.EdgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DepthFirstSearch.EdgeType TREE_EDGE
public static final DepthFirstSearch.EdgeType FORWARD_EDGE
public static final DepthFirstSearch.EdgeType BACK_EDGE
public static final DepthFirstSearch.EdgeType CROSS_EDGE
public static DepthFirstSearch.EdgeType[] values()
for (DepthFirstSearch.EdgeType c : DepthFirstSearch.EdgeType.values()) System.out.println(c);
public static DepthFirstSearch.EdgeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null