From 7cc23c84aca9b4dcb7cf7a6cc92ff27c82571064 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Sat, 6 May 2017 01:14:08 +0200 Subject: [PATCH] Added Demo. --- src/fr/devinsy/util/unix/demo/UnixDemo.java | 56 +++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 src/fr/devinsy/util/unix/demo/UnixDemo.java diff --git a/src/fr/devinsy/util/unix/demo/UnixDemo.java b/src/fr/devinsy/util/unix/demo/UnixDemo.java new file mode 100644 index 0000000..98e3a66 --- /dev/null +++ b/src/fr/devinsy/util/unix/demo/UnixDemo.java @@ -0,0 +1,56 @@ +/* + * Copyright (C) 2017 Christian Pierre MOMON + * + * This file is part of Devinsy-unix. + * + * Devinsy-unix is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * Devinsy-unix is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Devinsy-unix. If not, see + */ +package fr.devinsy.util.unix.demo; + +import fr.devinsy.util.strings.StringList; + +/** + * The Class UnixDemo. + */ +public class UnixDemo +{ + /** + * The main method. + * + * @param args + * the arguments + */ + public static void main(final String[] args) + { + // #1 + { + StringList strings = new StringList(); + + strings.appendln("========== DEMO #1;"); + strings.appendln(); + + System.out.println(strings.toString()); + } + + // #2 + { + StringList strings = new StringList(); + + strings.appendln("========== DEMO #2;"); + strings.appendln(); + + System.out.println(strings.toString()); + } + } +}