public enum EdgeActiveness extends Enum<EdgeActiveness>
Enum Constant and Description |
---|
Both
Both vertices must be active.
|
DstOnly
The destination vertex must be active.
|
Either
At least one vertex must be active.
|
Neither
Neither the source vertex nor the destination vertex need be active.
|
SrcOnly
The source vertex must be active.
|
Modifier and Type | Method and Description |
---|---|
static EdgeActiveness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeActiveness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeActiveness Neither
public static final EdgeActiveness SrcOnly
public static final EdgeActiveness DstOnly
public static final EdgeActiveness Both
public static final EdgeActiveness Either
public static EdgeActiveness[] values()
for (EdgeActiveness c : EdgeActiveness.values()) System.out.println(c);
public static EdgeActiveness 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 null