|
|||||||||
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
Field Summary | |
---|---|
private int |
label
|
private ActualEdgeType |
nextIncomingEdge
|
private ActualEdgeType |
nextOutgoingEdge
|
private VertexType |
source
|
private VertexType |
target
|
Constructor Summary | |
---|---|
AbstractEdge(VertexType source,
VertexType target)
Constructor. |
Method Summary | |
---|---|
int |
compareTo(ActualEdgeType other)
|
int |
getLabel()
Get the integer label. |
(package private) ActualEdgeType |
getNextIncomingEdge()
|
(package private) ActualEdgeType |
getNextOutgoingEdge()
|
VertexType |
getSource()
Get the source vertex. |
VertexType |
getTarget()
Get the target vertex. |
void |
setLabel(int label)
Set the integer label. |
(package private) void |
setNextIncomingEdge(ActualEdgeType edge)
|
(package private) void |
setNextOutgoingEdge(ActualEdgeType edge)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private VertexType extends AbstractVertex<ActualEdgeType,VertexType> source
private VertexType extends AbstractVertex<ActualEdgeType,VertexType> target
private int label
private ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType> nextOutgoingEdge
private ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType> nextIncomingEdge
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 compareTo(ActualEdgeType other)
compareTo
in interface java.lang.Comparable<ActualEdgeType extends AbstractEdge<ActualEdgeType,VertexType>>
void setNextOutgoingEdge(ActualEdgeType edge)
ActualEdgeType getNextOutgoingEdge()
void setNextIncomingEdge(ActualEdgeType edge)
ActualEdgeType getNextIncomingEdge()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |