T - The type of the nodes this edge connectspublic class DirectedEdge<T extends Node> extends Edge<T>
| Constructor and Description |
|---|
DirectedEdge(T nodeA,
T nodeB)
Creates a new directed edge for the given nodes.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString() |