edu.umd.cs.findbugs.graph

Class AbstractEdge<ActualEdgeType,VertexType>

public class AbstractEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>> extends Object implements GraphEdge<ActualEdgeType,VertexType>

GraphEdge implementation for use with AbstractGraph.

Author: David Hovemeyer

See Also: GraphEdge AbstractGraph AbstractVertex

Constructor Summary
AbstractEdge(VertexType source, VertexType target)
Constructor.
Method Summary
intcompareTo(ActualEdgeType other)
intgetLabel()
VertexTypegetSource()
VertexTypegetTarget()
voidsetLabel(int label)

Constructor Detail

AbstractEdge

public AbstractEdge(VertexType source, VertexType target)
Constructor.

Parameters: source the source vertex of the edge target the target vertex of the edge

Method Detail

compareTo

public int compareTo(ActualEdgeType other)

getLabel

public int getLabel()

getSource

public VertexType getSource()

getTarget

public VertexType getTarget()

setLabel

public void setLabel(int label)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.