java.lang.Object
org.jgrapht.graph.IntrusiveEdge
org.jgrapht.graph.DefaultEdge
- All Implemented Interfaces:
Serializable
,Cloneable
A default implementation for edges in a
Graph
.- See Also:
-
Field Summary
FieldsFields inherited from class org.jgrapht.graph.IntrusiveEdge
source, target
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jgrapht.graph.IntrusiveEdge
clone
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
DefaultEdge
public DefaultEdge()
-
-
Method Details
-
getSource
Retrieves the source of this edge. This is protected, for use by subclasses only (e.g. for implementing toString).- Returns:
- source of this edge
-
getTarget
Retrieves the target of this edge. This is protected, for use by subclasses only (e.g. for implementing toString).- Returns:
- target of this edge
-
toString
-