[Swift-commit] r3290 - branches/1.0/src/org/griphyn/vdl/mapping

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Thu Apr 29 20:43:14 CDT 2010


Author: hategan
Date: 2010-04-29 20:43:14 -0500 (Thu, 29 Apr 2010)
New Revision: 3290

Modified:
   branches/1.0/src/org/griphyn/vdl/mapping/Path.java
Log:
added missing method

Modified: branches/1.0/src/org/griphyn/vdl/mapping/Path.java
===================================================================
--- branches/1.0/src/org/griphyn/vdl/mapping/Path.java	2010-04-30 00:40:58 UTC (rev 3289)
+++ branches/1.0/src/org/griphyn/vdl/mapping/Path.java	2010-04-30 01:43:14 UTC (rev 3290)
@@ -177,6 +177,10 @@
 	public String getFirst() {
 		return ((Entry) elements.get(0)).name;
 	}
+	
+	public String getLast() {
+		return ((Entry) elements.get(elements.size() - 1)).name;
+	}
 
 	public boolean isEmpty() {
 		return elements == null || elements.size() == 0;




More information about the Swift-commit mailing list