public static enum DirectedOrderedDfsVertex.Factory extends java.lang.Enum<DirectedOrderedDfsVertex.Factory> implements VertexFactory<DirectedOrderedDfsVertex>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
DirectedOrderedDfsVertex |
newVertex()
Creates an instance of the given type of vertex
|
static DirectedOrderedDfsVertex.Factory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DirectedOrderedDfsVertex.Factory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DirectedOrderedDfsVertex.Factory INSTANCE
public static DirectedOrderedDfsVertex.Factory[] values()
for (DirectedOrderedDfsVertex.Factory c : DirectedOrderedDfsVertex.Factory.values()) System.out.println(c);
public static DirectedOrderedDfsVertex.Factory 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 nullpublic DirectedOrderedDfsVertex newVertex()
VertexFactory
newVertex
in interface VertexFactory<DirectedOrderedDfsVertex>