org._3pq.jgrapht.edge
Class EdgeFactories.DirectedEdgeFactory

java.lang.Object
  extended byorg._3pq.jgrapht.edge.EdgeFactories.AbstractEdgeFactory
      extended byorg._3pq.jgrapht.edge.EdgeFactories.DirectedEdgeFactory
All Implemented Interfaces:
EdgeFactory, java.io.Serializable
Enclosing class:
EdgeFactories

public static class EdgeFactories.DirectedEdgeFactory
extends org._3pq.jgrapht.edge.EdgeFactories.AbstractEdgeFactory

An EdgeFactory for producing directed edges.

Since:
Jul 14, 2003
Author:
Barak Naveh
See Also:
Serialized Form

Constructor Summary
EdgeFactories.DirectedEdgeFactory()
           
 
Method Summary
 Edge createEdge(java.lang.Object source, java.lang.Object target)
          Creates a new edge whose endpoints are the specified source and target vertices.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeFactories.DirectedEdgeFactory

public EdgeFactories.DirectedEdgeFactory()
Method Detail

createEdge

public Edge createEdge(java.lang.Object source,
                       java.lang.Object target)
Description copied from interface: EdgeFactory
Creates a new edge whose endpoints are the specified source and target vertices.

Parameters:
source - the source vertex.
target - the target vertex.
Returns:
a new edge whose endpoints are the specified source and target vertices.
See Also:
EdgeFactory.createEdge(Object, Object)