org.jdmp.core.algorithm
Enum Algorithm.EdgeDirection
java.lang.Object
java.lang.Enum<Algorithm.EdgeDirection>
org.jdmp.core.algorithm.Algorithm.EdgeDirection
- All Implemented Interfaces:
- Serializable, Comparable<Algorithm.EdgeDirection>
- Enclosing interface:
- Algorithm
public static enum Algorithm.EdgeDirection
- extends Enum<Algorithm.EdgeDirection>
NotConnected
public static final Algorithm.EdgeDirection NotConnected
Incoming
public static final Algorithm.EdgeDirection Incoming
Outgoing
public static final Algorithm.EdgeDirection Outgoing
Bidirectional
public static final Algorithm.EdgeDirection Bidirectional
values
public static Algorithm.EdgeDirection[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Algorithm.EdgeDirection c : Algorithm.EdgeDirection.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Algorithm.EdgeDirection valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2009. All Rights Reserved.