Revision: 522
Author: dbrosius
Date: 2006-05-09 00:25:19 -0700 (Tue, 09 May 2006)
ViewCVS: http://svn.sourceforge.net/fb-contrib/?rev=522&view=rev
Log Message:
-----------
test case for NMCS
Added Paths:
-----------
trunk/fb-contrib/samples/NMCS_Sample.java
Added: trunk/fb-contrib/samples/NMCS_Sample.java
===================================================================
--- trunk/fb-contrib/samples/NMCS_Sample.java (rev 0)
+++ trunk/fb-contrib/samples/NMCS_Sample.java 2006-05-09 07:25:19 UTC (rev 522)
@@ -0,0 +1,27 @@
+import java.util.List;
+import java.util.Vector;
+
+public class NMCS_Sample
+{
+ private static List<String> test = new Vector<String>();
+ static {
+ test.add("one");
+ test.add("two");
+ test.add("three");
+ }
+
+ public String test1()
+ {
+ StringBuffer sb = new StringBuffer();
+ String comma = "";
+ for (String s : test)
+ {
+ sb.append(comma);
+ comma = ",";
+ sb.append(s);
+ }
+
+ return sb.toString();
+ }
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|