comparison source/afterCompress.java @ 2:026e38c007dc

writed
author Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp>
date Mon, 26 Oct 2015 16:10:32 +0900
parents
children
comparison
equal deleted inserted replaced
1:84ace958eee4 2:026e38c007dc
1 public class RemoteIncrement extends CodeSegment {
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("compressedremote", "num");
13
14 ods.put("compressedlocal", "num", num);
15 }
16
17 }