public class BipartiteEdge extends UndirectedSparseEdge
UserDataContainer.CopyAction
mFrom, mTo
id, m_Graph
factory, udc_delegate
Constructor and Description |
---|
BipartiteEdge(BipartiteVertex a,
BipartiteVertex b)
The BipartiteEdge constructor.
|
Modifier and Type | Method and Description |
---|---|
ArchetypeEdge |
copy(ArchetypeGraph newGraph)
Creates a copy of this edge in the specified graph
newGraph ,
and copies this edge's user data to the new edge. |
getEndpoints, getIncidentVertices, getOpposite, isIncident, numVertices, toString
equals, getEqualEdge, getEquivalentEdge, getIncidentElements
addGraph_internal, getGraph, hashCode, initialize, removeGraph_internal
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDataFactory, setUserDatum
finalize, getClass, notify, notifyAll, wait, wait, wait
getEndpoints, getOpposite
getEqualEdge, getEquivalentEdge, getIncidentVertices, isIncident, numVertices
getGraph, getIncidentElements
addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum
public BipartiteEdge(BipartiteVertex a, BipartiteVertex b)
a
- a Vertex from a BipartiteGraph in CLASSAb
- a Vertex from the same BipartiteGraph in CLASSBpublic ArchetypeEdge copy(ArchetypeGraph newGraph)
AbstractSparseEdge
newGraph
,
and copies this edge's user data to the new edge.copy
in interface ArchetypeEdge
copy
in class AbstractSparseEdge
newGraph
- the graph in which the copied edge will be placedArchetypeEdge.copy(edu.uci.ics.jung.graph.ArchetypeGraph)