FindBugs™ 1.3.9

edu.umd.cs.findbugs.graph
Class AbstractVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>,ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>

java.lang.Object
  extended by edu.umd.cs.findbugs.graph.AbstractVertex<EdgeType,ActualVertexType>
All Implemented Interfaces:
GraphVertex<ActualVertexType>, java.lang.Comparable<ActualVertexType>
Direct Known Subclasses:
BasicBlock, CallGraphNode, DetectorNode, InterproceduralCallGraphVertex

public class AbstractVertex<EdgeType extends AbstractEdge<EdgeType,ActualVertexType>,ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>
extends java.lang.Object
implements GraphVertex<ActualVertexType>

GraphVertex implementation for use with AbstractGraph.

Author:
David Hovemeyer
See Also:
GraphVertex, AbstractGraph, AbstractEdge

Constructor Summary
AbstractVertex()
           
 
Method Summary
 int compareTo(ActualVertexType other)
           
 boolean equals(java.lang.Object o)
           
 int getLabel()
          Get the numeric label for this vertex.
 int hashCode()
           
 void setLabel(int label)
          Set the numeric label for this vertex.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractVertex

public AbstractVertex()
Method Detail

getLabel

public int getLabel()
Description copied from interface: GraphVertex
Get the numeric label for this vertex.

Specified by:
getLabel in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>

setLabel

public void setLabel(int label)
Description copied from interface: GraphVertex
Set the numeric label for this vertex.

Specified by:
setLabel in interface GraphVertex<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(ActualVertexType other)
Specified by:
compareTo in interface java.lang.Comparable<ActualVertexType extends AbstractVertex<EdgeType,ActualVertexType>>

FindBugs™ 1.3.9

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.