public class Edge<T>
extends java.lang.Object
Constructor and Description |
---|
Edge(java.lang.String id,
Vertex<T> source,
Vertex<T> destination,
int weight) |
Modifier and Type | Method and Description |
---|---|
Vertex |
getDestination() |
java.lang.String |
getId() |
Vertex |
getSource() |
int |
getWeight() |
java.lang.String |
toString() |