N - The type of Node contained in this Edgepublic interface GraphEdge<N> extends Edge<N>
| Modifier and Type | Method and Description | 
|---|---|
| GraphEdge<N> | createReplacementEdge(N node1,
                     N node2)Creates a replacement edge for the current GraphEdge given two Nodes. | 
| N | getOppositeNode(N node)Returns the node connected to the GraphEdge that is opposite of the given
 Node. | 
getAdjacentNodeCount, getAdjacentNodes, getNodeAt, isAdjacentNodeN getOppositeNode(N node)
node - The Node for which the opposite Node should be returned.GraphEdge<N> createReplacementEdge(N node1, N node2)
node1 - The first Node to be connected to the replacement GraphEdge.node2 - The second Node to be connected to the replacement GraphEdge.