commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1134654 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/DirectedGraph.java
Date Sat, 11 Jun 2011 14:17:46 GMT
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>
 {
 
     /**



Mime
View raw message