Mercurial > hg > Members > tatsuki > Alice
annotate 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 |
rev | line source |
---|---|
345 | 1 package alice.test.concurrent; |
2 | |
3 public class AliceConcurrentTest { | |
4 | |
5 public static void main(String args[]) { | |
6 | |
7 int count = 1; | |
8 | |
9 for (int i = 0; i< args.length; i++) { | |
10 if ("-c".equals(args[i])) { | |
11 count = Integer.parseInt(args[++i]); | |
12 } | |
13 } | |
14 | |
15 new StartConcurrent(count).execute(); | |
16 } | |
17 | |
18 } |