Package edu.umd.cs.findbugs.graph
Class AbstractVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>,ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
java.lang.Object
edu.umd.cs.findbugs.graph.AbstractVertex<EdgeType,ActualVertexType>
- All Implemented Interfaces:
GraphVertex<ActualVertexType>,Comparable<ActualVertexType>
- Direct Known Subclasses:
BasicBlock,CallGraphNode,DetectorNode,InterproceduralCallGraphVertex
public class AbstractVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>,ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
extends Object
implements GraphVertex<ActualVertexType>
GraphVertex implementation for use with AbstractGraph.
- Author:
- David Hovemeyer
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractVertex
public AbstractVertex()
-
-
Method Details
-
getLabel
public int getLabel()Description copied from interface:GraphVertexGet the numeric label for this vertex.- Specified by:
getLabelin interfaceGraphVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>>
-
setLabel
public void setLabel(int label) Description copied from interface:GraphVertexSet the numeric label for this vertex.- Specified by:
setLabelin interfaceGraphVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>>
-
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareToin interfaceComparable<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>>
-