@@ -0,0 +1,571 @@
+/*%0A * An example of ellipsis.%0A * %0A * Usage:%0A * - compile: javac GetNumCores.java%0A * - execute: java GetNumCores%0A */%0A%0Apublic class Ellipsis %7B%0A%09%0A%09/**%0A%09 * The ellipsis example%0A%09 * %0A%09 * @param args%0A%09 */%0A%09public static void ellipsisMethod(String... args) %7B%0A%09%09// args is a table of String%0A%09%09System.out.println(args.length);%0A%09%09%0A%09%09for(String arg : args) %7B%0A%09%09%09System.out.println(arg);%0A%09%09%7D%0A%09%7D%0A%0A%09/**%0A%09 * @param args%0A%09 */%0A%09public static void main(String%5B%5D args) %7B%0A%09%09Ellipsis.ellipsisMethod();%0A%09%09Ellipsis.ellipsisMethod(%22param1%22);%0A%09%09Ellipsis.ellipsisMethod(%22param1%22, %22param2%22);%0A%09%7D%0A%0A%7D%0A

Add some snippets (Java).