public enum DefaultEdgeType extends Enum<DefaultEdgeType>
Java class for graph.edgedefault.type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="graph.edgedefault.type"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="directed"/> <enumeration value="undirected"/> </restriction> </simpleType>
Enum Constant and Description |
---|
DIRECTED |
UNDIRECTED |
Modifier and Type | Method and Description |
---|---|
static DefaultEdgeType |
fromValue(String v) |
String |
value() |
static DefaultEdgeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultEdgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultEdgeType DIRECTED
public static final DefaultEdgeType UNDIRECTED
public static DefaultEdgeType[] values()
for (DefaultEdgeType c : DefaultEdgeType.values()) System.out.println(c);
public static DefaultEdgeType 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 value()
public static DefaultEdgeType fromValue(String v)