Enum Constant and Description |
---|
BOTH |
INCOMING
Used for the CNI to indicate the use of incoming edges.
|
OUTGOING
Used for the CNI to indicate the use of outgoing edges.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Direction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
|
public static final Direction BOTH
public static final Direction INCOMING
public static final Direction OUTGOING
public int getValue()
public static Direction 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 nullpublic static Direction[] values()
for (Direction c : Direction.values()) System.out.println(c);
Copyright © 2016, 2017 Oracle Corp. All Rights Reserved.