Mercurial > hg > Database > Alice
comparison src/alice/test/codesegment/TestCodeSegment.java @ 3:91057e15065f
add DataSegment API and CodeSegment
author | one |
---|---|
date | Wed, 11 Jan 2012 00:17:27 +0900 |
parents | |
children | 352eb19d837d |
comparison
equal
deleted
inserted
replaced
2:f71eabb1df2a | 3:91057e15065f |
---|---|
1 package alice.test.codesegment; | |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 | |
5 public class TestCodeSegment extends CodeSegment { | |
6 | |
7 public TestCodeSegment() { | |
8 | |
9 } | |
10 | |
11 @Override | |
12 public void prepare() { | |
13 ids.peek("local", "key1"); | |
14 } | |
15 | |
16 @Override | |
17 public void run() { | |
18 | |
19 | |
20 } | |
21 | |
22 } |