public class Edge<T>
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Vertex<T> |
destination |
private Vertex<T> |
source |
private java.lang.Object |
type |
| Constructor and Description |
|---|
Edge(Vertex<T> source,
Vertex<T> destination,
java.lang.Object type) |
| Modifier and Type | Method and Description |
|---|---|
Vertex<T> |
getDestination() |
Vertex<T> |
getSource() |
java.lang.Object |
getType() |
java.lang.String |
toString() |