Mercurial > hg > Database > Alice
view src/alice/test/topology/fish/PeekStartX.java @ 283:b90d03c6cb00
Fix spell
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 18 Oct 2013 02:43:21 +0900 |
parents | b5c642ba998e |
children |
line wrap: on
line source
package alice.test.topology.fish; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class PeekStartX extends CodeSegment { public Receiver startX = ids.create(CommandType.PEEK); public int index; public PeekStartX(int index) { this.index = index; } @Override public void run() { int startX = this.startX.asInteger(); AssignStartX cs = new AssignStartX(startX, this.startX.index); cs.routing.setKey("routing", this.startX.index); } }