Mercurial > hg > Database > Alice
diff src/main/java/alice/test/concurrent/AliceConcurrentTest.java @ 345:8f71c3e6f11d
Change directory structure Maven standard
author | sugi |
---|---|
date | Wed, 16 Apr 2014 18:26:07 +0900 |
parents | |
children | aefbe41fcf12 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/main/java/alice/test/concurrent/AliceConcurrentTest.java Wed Apr 16 18:26:07 2014 +0900 @@ -0,0 +1,18 @@ +package alice.test.concurrent; + +public class AliceConcurrentTest { + + public static void main(String args[]) { + + int count = 1; + + for (int i = 0; i< args.length; i++) { + if ("-c".equals(args[i])) { + count = Integer.parseInt(args[++i]); + } + } + + new StartConcurrent(count).execute(); + } + +}