Mercurial > hg > Papers > 2012 > sugi-prosym
view Paper/source/TestCodeSegment.java @ 17:fa9827772216
fix
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 26 Nov 2012 18:53:28 +0900 |
parents | 25a3002cb1e6 |
children |
line wrap: on
line source
public class TestCodeSegment extends CodeSegment { Receiver input1 = ids.create(CommandType.PEEK); @Override public void run() { System.out.println("index = " + input1.index); System.out.println("data = " + input1.val); if (input1.index == 10) System.exit(0); TestCodeSegment cs = new TestCodeSegment(); cs.input1.setKey("local", "key1", input1.index); ods.update("local", "key1", "String data"); } }