Mercurial > hg > Papers > 2015 > nozomi-midterm
view 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 |
line wrap: on
line source
public class RemoteIncrement extends CodeSegment { public Receiver num = ids.create(CommandType.TAKE); @Override public void run() { int num = this.num.asInteger(); System.out.println("[CodeSegment] " + num++); if (num == 10) System.exit(0); RemoteIncrement cs = new RemoteIncrement(); cs.num.setKey("compressedremote", "num"); ods.put("compressedlocal", "num", num); } }