Mercurial > hg > Database > Alice
annotate src/alice/codesegment/CodeSegment.java @ 132:1044a79ce4ef working
delete cs from OutputCodeSegment
author | sugi |
---|---|
date | Tue, 14 Aug 2012 19:43:10 +0900 |
parents | 3155337e754e |
children | 913ee9dfec4f |
rev | line source |
---|---|
3 | 1 package alice.codesegment; |
2 | |
3 import alice.codesegment.InputDataSegment; | |
4 | |
21
145667a554ad
run CodeSegment with ThreadPoolExecutor
kazz <kazz@cr.ie.u-ryukyu.ac.jp>
parents:
19
diff
changeset
|
5 public abstract class CodeSegment implements Runnable { |
3 | 6 |
7 public InputDataSegment ids = new InputDataSegment(this); | |
132 | 8 public OutputDataSegment ods = new OutputDataSegment(); |
3 | 9 |
19 | 10 public void execute() { |
11 ids.receive(); | |
12 } | |
3 | 13 |
14 } |