You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/06/11 16:17:46 UTC

svn commit: r1134654 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java

Author: simonetripodi
Date: Sat Jun 11 14:17:46 2011
New Revision: 1134654

URL: http://svn.apache.org/viewvc?rev=1134654&view=rev
Log:
added missing <Vertex,Edge> generics types

Modified:
    commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java?rev=1134654&r1=1134653&r2=1134654&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java Sat Jun 11 14:17:46 2011
@@ -24,9 +24,12 @@ import java.util.Set;
  * {@code V} a set whose elements are called vertices or nodes, and
  * {@code E} a set of ordered pairs of vertices, called arcs, directed edges, or arrows.
  * </ul>
+ *
+ * @param <V> the Graph vertices type
+ * @param <E> the Graph edges type
  */
-public interface DirectedGraph
-     extends Graph
+public interface DirectedGraph<V extends Vertex, E extends Edge>
+     extends Graph<V, E>
 {
 
     /**