public static enum GraphIO.GraphType extends Enum<GraphIO.GraphType>
| Enum Constant and Description |
|---|
DIRECTED |
MULTIGRAPH |
UNDIRECTED |
WEIGHTED |
| Modifier and Type | Method and Description |
|---|---|
static GraphIO.GraphType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphIO.GraphType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphIO.GraphType UNDIRECTED
public static final GraphIO.GraphType DIRECTED
public static final GraphIO.GraphType WEIGHTED
public static final GraphIO.GraphType MULTIGRAPH
public static GraphIO.GraphType[] values()
for (GraphIO.GraphType c : GraphIO.GraphType.values()) System.out.println(c);
public static GraphIO.GraphType 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 © 2012. All Rights Reserved.