edu.umd.cs.findbugs.graph
public class AbstractEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>> extends Object implements GraphEdge<ActualEdgeType,VertexType>
See Also: GraphEdge AbstractGraph AbstractVertex
| Constructor Summary | |
|---|---|
| AbstractEdge(VertexType source, VertexType target)
Constructor. | |
| Method Summary | |
|---|---|
| int | compareTo(ActualEdgeType other) |
| int | getLabel() |
| VertexType | getSource() |
| VertexType | getTarget() |
| void | setLabel(int label) |
Parameters: source the source vertex of the edge target the target vertex of the edge