Mercurial > hg > Database > Alice
annotate src/main/java/alice/test/codesegment/api/TakeCodeSegment.java @ 467:6e304a7a60e7 dispose
remove white space
author | sugi |
---|---|
date | Sat, 22 Nov 2014 12:08:24 +0900 |
parents | aefbe41fcf12 |
children | 15eeb439830c |
rev | line source |
---|---|
345 | 1 package alice.test.codesegment.api; |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 import alice.datasegment.CommandType; | |
5 import alice.datasegment.Receiver; | |
6 | |
7 public class TakeCodeSegment extends CodeSegment { | |
419 | 8 |
9 Receiver ds1 = ids.create(CommandType.TAKE); | |
10 | |
11 public TakeCodeSegment(String key){ | |
12 this.ds1.setKey(key); | |
467 | 13 } |
419 | 14 @Override |
15 public void run() { | |
16 new TakeCodeSegment(ds1.key); | |
17 | |
18 } | |
345 | 19 } |