|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.uci.ics.jung.utils.UserData
edu.uci.ics.jung.graph.impl.AbstractSparseEdge
edu.uci.ics.jung.graph.impl.DirectedSparseEdge
An implementation of DirectedEdge
that resides in a
directed graph.
DirectedSparseVertex
,
DirectedSparseGraph
Nested Class Summary |
Nested classes inherited from class edu.uci.ics.jung.utils.UserDataContainer |
UserDataContainer.CopyAction |
Field Summary |
Fields inherited from class edu.uci.ics.jung.utils.UserData |
CLONE, REMOVE, SHARED |
Constructor Summary | |
DirectedSparseEdge(Vertex from,
Vertex to)
Creates a directed edge whose source is from and whose
destination is to . |
Method Summary | |
Vertex |
getDest()
Returns the destination of this directed edge. |
Vertex |
getSource()
Returns the source of this directed edge. |
Methods inherited from class edu.uci.ics.jung.graph.impl.AbstractSparseEdge |
copy, equals, getEndpoints, getEqualEdge, getEquivalentEdge, getGraph, getIncidentVertices, getOpposite, hashCode, isIncident, numVertices, toString |
Methods inherited from class edu.uci.ics.jung.utils.UserData |
addUserDatum, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface edu.uci.ics.jung.graph.Edge |
getEndpoints, getOpposite |
Methods inherited from interface edu.uci.ics.jung.graph.ArchetypeEdge |
copy, getEqualEdge, getEquivalentEdge, getGraph, getIncidentVertices, isIncident, numVertices |
Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer |
addUserDatum, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum |
Constructor Detail |
public DirectedSparseEdge(Vertex from, Vertex to)
from
and whose
destination is to
.
Method Detail |
public Vertex getSource()
DirectedEdge
getSource
in interface DirectedEdge
DirectedEdge.getSource()
public Vertex getDest()
DirectedEdge
getDest
in interface DirectedEdge
DirectedEdge.getDest()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |