Mercurial > hg > Papers > 2015 > nozomi-prosym
comparison paper-last/source/beforeCompress.java @ 5:50de9b120af4
add comparison & conclusion
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 30 Nov 2015 02:14:22 +0900 |
parents | a1f6921de16c |
children |
comparison
equal
deleted
inserted
replaced
4:a1f6921de16c | 5:50de9b120af4 |
---|---|
1 public class RemoteIncrement extends CodeSegment { | 1 ods.put("remote", "num", 0); |
2 | |
3 public Receiver num = ids.create(CommandType.TAKE); | |
4 | |
5 @Override | |
6 public void run() { | |
7 int num = this.num.asInteger(); | |
8 System.out.println("[CodeSegment] " + num++); | |
9 if (num == 10) System.exit(0); | |
10 | |
11 RemoteIncrement cs = new RemoteIncrement(); | |
12 cs.num.setKey("remote", "num"); | |
13 | |
14 ods.put("local", "num", num); | |
15 } | |
16 } |