|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.graph.AbstractEdge<ActualEdgeType,VertexType>
public class AbstractEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>>
GraphEdge implementation for use with AbstractGraph.
GraphEdge
,
AbstractGraph
,
AbstractVertex
Constructor Summary | |
---|---|
AbstractEdge(VertexType source,
VertexType target)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(ActualEdgeType other)
|
boolean |
equals(java.lang.Object o)
|
int |
getLabel()
Get the integer label. |
VertexType |
getSource()
Get the source vertex. |
VertexType |
getTarget()
Get the target vertex. |
int |
hashCode()
|
void |
setLabel(int label)
Set the integer label. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractEdge(VertexType source, VertexType target)
source
- the source vertex of the edgetarget
- the target vertex of the edgeMethod Detail |
---|
public VertexType getSource()
GraphEdge
getSource
in interface GraphEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>>
public VertexType getTarget()
GraphEdge
getTarget
in interface GraphEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>>
public int getLabel()
GraphEdge
getLabel
in interface GraphEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>>
public void setLabel(int label)
GraphEdge
setLabel
in interface GraphEdge<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>,VertexType extends AbstractVertex<ActualEdgeType,VertexType>>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int compareTo(ActualEdgeType other)
compareTo
in interface java.lang.Comparable<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>>
|
FindBugs™ 1.3.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |