Author: simonetripodi
Date: Sat Jun 11 21:02:18 2011
New Revision: 1134756

URL: http://svn.apache.org/viewvc?rev=1134756&view=rev
Log:
Fixed Vertex/Edge type in methods signature

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

Modified: 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java
URL: 
http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java?rev=1134756&r1=1134755&r2=1134756&view=diff
==============================================================================
--- 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java 
(original)
+++ 
commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Graph.java 
Sat Jun 11 21:02:18 2011
@@ -51,13 +51,13 @@ public interface Graph<V extends Vertex,
      *
      * @return all edges which touch this vertex.
      */
-    Set<E> getEdges( Vertex v );
+    Set<E> getEdges( V v );
 
     /**
      * Return the set of {@link Vertex} on the input {@link Edge} (2 for 
normal edges, > 2 for HyperEdges)
      *
      * @return the set of {@link Vertex} on this Edge.
      */
-    Set<V> getVertices( Edge e );
+    Set<V> getVertices( E e );
 
 }


Reply via email to