public class DirectedEdgeImpl extends EdgeImpl implements DirectedEdge
DIRECTION_A_TO_B, DIRECTION_B_TO_A, NODIRECTION| Constructor and Description |
|---|
DirectedEdgeImpl(Vertex sourceVertex,
Vertex sinkVertex)
Creates an DirectedEdgeImpl object whose origin and destination vertices
are specified by the method parameters.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
clone()
Creates a clone of this Edge.
|
int |
getDirection()
Returns the direction of the Edge
|
Vertex |
getSink()
Returns the sink Vertex of the edge.
|
Vertex |
getSource()
Returns the source Vertex of the edge.
|
String |
toString()
Returns a String representation of the Edge.
|
getLabel, getOppositeVertex, getVertexA, getVertexB, hasLabel, isFollowVertexLabel, setFollowVertexLabel, setLabelequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetOppositeVertex, getVertexA, getVertexBisFollowVertexLabel, setFollowVertexLabelgetLabel, hasLabel, setLabelpublic Vertex getSource()
getSource in interface DirectedEdgepublic Vertex getSink()
getSink in interface DirectedEdgepublic int getDirection()
getDirection in interface DirectedEdgepublic String toString()
EdgeImplCopyright © 2019 JULIE Lab, Germany. All rights reserved.