annotate src/alice/test/codesegment/api/FlipCodeSegment.java @ 199:15b68b65f8a4 working

Failed api flip
author sugi
date Thu, 21 Mar 2013 16:48:26 +0900
parents f151dea22b2c
children 1fd7067f0044
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
198
f151dea22b2c add flip api
sugi
parents:
diff changeset
1 package alice.test.codesegment.api;
f151dea22b2c add flip api
sugi
parents:
diff changeset
2
f151dea22b2c add flip api
sugi
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
f151dea22b2c add flip api
sugi
parents:
diff changeset
4
f151dea22b2c add flip api
sugi
parents:
diff changeset
5 public class FlipCodeSegment extends CodeSegment{
f151dea22b2c add flip api
sugi
parents:
diff changeset
6
f151dea22b2c add flip api
sugi
parents:
diff changeset
7 private String key;
f151dea22b2c add flip api
sugi
parents:
diff changeset
8 public FlipCodeSegment(String _key){
f151dea22b2c add flip api
sugi
parents:
diff changeset
9 this.key = _key;
f151dea22b2c add flip api
sugi
parents:
diff changeset
10 }
f151dea22b2c add flip api
sugi
parents:
diff changeset
11
f151dea22b2c add flip api
sugi
parents:
diff changeset
12 @Override
f151dea22b2c add flip api
sugi
parents:
diff changeset
13 public void run() {
f151dea22b2c add flip api
sugi
parents:
diff changeset
14 Integer num = new Integer(0);
f151dea22b2c add flip api
sugi
parents:
diff changeset
15 ods.put(key, num, false);
199
15b68b65f8a4 Failed api flip
sugi
parents: 198
diff changeset
16
198
f151dea22b2c add flip api
sugi
parents:
diff changeset
17 //System.out.println("Key is " +key);
f151dea22b2c add flip api
sugi
parents:
diff changeset
18 new FlipTest(key);
f151dea22b2c add flip api
sugi
parents:
diff changeset
19 }
f151dea22b2c add flip api
sugi
parents:
diff changeset
20
f151dea22b2c add flip api
sugi
parents:
diff changeset
21 }