Mercurial > hg > Papers > 2013 > sugi-sigos
view source/TestCodeSegment.java @ 2:ddd5a624bb7a
add image flies
author | sugi |
---|---|
date | Mon, 01 Apr 2013 01:52:11 +0900 |
parents | |
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"); } }