V - The class of Vertex that join the Edge.public interface Edge<V extends Vertex> extends Typable
| Modifier and Type | Method and Description |
|---|---|
EdgeFactory<V,? extends Edge<V>> |
getEdgeFactory()
Method to get the Factory class to create new Edges of the same class.
|
V |
getSource()
Getter method to know the source of the edge.
|
V |
getTarget()
Getter method to know the target of the edge.
|
V getSource()
Vertex of the class V from the edge go.V getTarget()
Vertex of the class V where the edge go.EdgeFactory<V,? extends Edge<V>> getEdgeFactory()
EdgeFactory which create edges of the same class of this edge.