Mercurial > hg > Papers > 2015 > nozomi-sigos
view paper/source/beforeCompress.java @ 23:7de82f13512b default tip
last update
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 08 Jul 2015 17:34:13 +0900 |
parents | 7fdd8fe79a65 |
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("remote", "num"); ods.put("local", "num", num); } }