N - The type of Node stored in this Edgepublic interface DirectionalEdge<N> extends Edge<N>
| Modifier and Type | Field and Description | 
|---|---|
| static int | SINKThe bitmask for identifying when a Node is a sink of a given
 DirectionalEdge. | 
| static int | SOURCEThe bitmask for identifying when a Node is a source of a given
 DirectionalEdge. | 
| static int | UNCONNECTEDThe bitmask for identifying when a Node is unconnected to a given
 DirectionalEdge. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getNodeInterfaceType(N node)Returns an identifier indicating the association between this
 DirectionalEdge and the given Node. | 
| java.util.List<N> | getSinkNodes()Returns a List of the Sink Nodes of this DirectionalEdge. | 
| java.util.List<N> | getSourceNodes()Returns a List of the Source Nodes of this DirectionalEdge. | 
getAdjacentNodeCount, getAdjacentNodes, getNodeAt, isAdjacentNodestatic final int UNCONNECTED
static final int SOURCE
static final int SINK
int getNodeInterfaceType(N node)
node - The node for which the interface type should be returnedjava.util.List<N> getSourceNodes()
java.util.List<N> getSinkNodes()