V
- the type of the vertices in this edgepublic class DirectedEdge<V> extends java.lang.Object implements Edge.Directed<V>
Edge.Directed<W>, Edge.Hyper<W>
Constructor and Description |
---|
DirectedEdge(V first,
V second) |
public java.util.Collection<V> getEndpoints()
getEndpoints
in interface Edge<V>
public V getFirst()
getFirst
in interface Edge.Directed<V>
public V getSecond()
getSecond
in interface Edge.Directed<V>