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