public enum FlowDirection extends java.lang.Enum<FlowDirection>
The tracing analysis direction enumeration.
It is used in searching the shortest path and tracing analysis. It is used to determine whether the tracing analysis is tracing upstream or downstream; or determine whether the shortest path analysis is to search the shortest path upstream or interpolate the shortest path downstream.
| Enum Constant and Description |
|---|
DOWNSTREAM
The downstream.
|
UPSTREAM
The upstream.
|
| Modifier and Type | Method and Description |
|---|---|
static FlowDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FlowDirection[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final FlowDirection UPSTREAM
The upstream.
public static final FlowDirection DOWNSTREAM
The downstream.
public static FlowDirection[] values()
for (FlowDirection c : FlowDirection.values())
System.out.println(c);
public static FlowDirection 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 null