public enum GraphElementInsertion extends Enum<GraphElementInsertion>
Edge.Edge(Graph, Node, Edge, Node, Edge, GraphElementInsertion, GraphElementInsertion)
,
Graph.changeEdge(Edge, Edge, Edge, GraphElementInsertion, GraphElementInsertion)
,
Graph.changeEdge(Edge, Node, Edge, GraphElementInsertion, Node, Edge, GraphElementInsertion)
,
Graph.createEdge(Node, Edge, Node, Edge, GraphElementInsertion, GraphElementInsertion)
Enum Constant and Description |
---|
AFTER
Object insertion specifier.
|
BEFORE
Object insertion specifier.
|
Modifier and Type | Method and Description |
---|---|
static GraphElementInsertion |
fromOrdinal(int ordinal) |
int |
value() |
static GraphElementInsertion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphElementInsertion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphElementInsertion AFTER
public static final GraphElementInsertion BEFORE
public static final GraphElementInsertion fromOrdinal(int ordinal)
public int value()
public static GraphElementInsertion valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static GraphElementInsertion[] values()
for (GraphElementInsertion c : GraphElementInsertion.values()) System.out.println(c);