Mercurial > hg > Papers > 2015 > nozomi-prosym
view paper/source/beforeCompress.java @ 1:84254e949b77
before Seminar
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 10 Nov 2015 19:37:47 +0900 |
parents | |
children | 3c53c527d762 |
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); } }