commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1135839 - /commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java
Date Tue, 14 Jun 2011 23:00:38 GMT
Author: simonetripodi
Date: Tue Jun 14 23:00:38 2011
New Revision: 1135839

URL: http://svn.apache.org/viewvc?rev=1135839&view=rev
Log:
start/end renamed to source/target, since such terms are used more often in literature 

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

Modified: commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java
URL: http://svn.apache.org/viewvc/commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java?rev=1135839&r1=1135838&r2=1135839&view=diff
==============================================================================
--- commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java (original)
+++ commons/sandbox/graph/trunk/src/main/java/org/apache/commons/graph/Path.java Tue Jun 14
23:00:38 2011
@@ -32,14 +32,14 @@ public interface Path<V extends Vertex, 
 {
 
     /**
-     * Returns the start of the path.
+     * Returns the source of the path.
      */
-    V getStart();
+    V getSource();
 
     /**
-     * Returns the end of the path.
+     * Returns the target of the path.
      */
-    V getEnd();
+    V getTarget();
 
     /**
      * getVertices() - This returns a list of Vertices, in order as they go from



Mime
View raw message