Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## edu.uci.ics.jung.graph
Interface DirectedEdge

All Superinterfaces:
  ArchetypeEdge, Cloneable, Edge, Element, UserDataContainer

All Known Implementing Classes:
  DirectedSparseEdge

public interface DirectedEdge
extends Edge

A type of `Edge` which imposes an ordering on its incident vertices. A directed edge `e` is an ordered pair of vertices `<v1, v2>` which connects its source, `v1`, to its destination, `v2`. Equivalently, `e` is an outgoing edge of `v1` and an incoming edge of `v2`.

Author:
  Joshua O'Madadhain, Danyel Fisher, Scott White
See Also:
  `DirectedGraph`, `UndirectedEdge`, `Vertex`

Nested Class Summary

Nested classes inherited from class edu.uci.ics.jung.utils.UserDataContainer
`UserDataContainer.CopyAction`

Method Summary
`Vertex` | `getDest()` Returns the destination of this directed edge.
`Vertex` | `getSource()` Returns the source of this directed edge.

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, getIncidentVertices, isIncident, numVertices`

Methods inherited from interface edu.uci.ics.jung.graph.Element
`getGraph, getIncidentElements`

Methods inherited from interface edu.uci.ics.jung.utils.UserDataContainer
`addUserDatum, clone, containsUserDatumKey, getUserDatum, getUserDatumCopyAction, getUserDatumKeyIterator, importUserData, removeUserDatum, setUserDatum`

Method Detail

### getSource

    public Vertex getSource()

  Returns the source of this directed edge.

  See Also:
    `Vertex.isSource(Edge)`

### getDest

    public Vertex getDest()

  Returns the destination of this directed edge.

  See Also:
    `Vertex.isDest(Edge)`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD