| Enum Constant and Description |
|---|
DIRECTED |
UNDIRECTED |
| Modifier and Type | Method and Description |
|---|---|
static EdgeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EdgeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeType DIRECTED
public static final EdgeType UNDIRECTED
public static EdgeType[] values()
for (EdgeType c : EdgeType.values()) System.out.println(c);
public static EdgeType 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 nullCopyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence