annotate src/alice/test/codesegment/api/FlipTest.java @ 214:fec0726bb126 working

remove error
author one
date Wed, 27 Mar 2013 18:16:34 +0900
parents b5daccf36104
children bc451bb72d5a
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 import alice.datasegment.CommandType;
f151dea22b2c add flip api
sugi
parents:
diff changeset
5 import alice.datasegment.Receiver;
f151dea22b2c add flip api
sugi
parents:
diff changeset
6
f151dea22b2c add flip api
sugi
parents:
diff changeset
7 public class FlipTest extends CodeSegment{
f151dea22b2c add flip api
sugi
parents:
diff changeset
8
f151dea22b2c add flip api
sugi
parents:
diff changeset
9 private Receiver arg1 = ids.create(CommandType.PEEK);
f151dea22b2c add flip api
sugi
parents:
diff changeset
10 public static long t = 0;
f151dea22b2c add flip api
sugi
parents:
diff changeset
11 public static boolean flag = false;
f151dea22b2c add flip api
sugi
parents:
diff changeset
12 public static int count = 0;
f151dea22b2c add flip api
sugi
parents:
diff changeset
13
f151dea22b2c add flip api
sugi
parents:
diff changeset
14 public FlipTest(String key){
f151dea22b2c add flip api
sugi
parents:
diff changeset
15 arg1.setKey(key);
f151dea22b2c add flip api
sugi
parents:
diff changeset
16 }
f151dea22b2c add flip api
sugi
parents:
diff changeset
17
f151dea22b2c add flip api
sugi
parents:
diff changeset
18 public FlipTest(String key, int index){
f151dea22b2c add flip api
sugi
parents:
diff changeset
19 arg1.setKey(key, index);
f151dea22b2c add flip api
sugi
parents:
diff changeset
20 }
f151dea22b2c add flip api
sugi
parents:
diff changeset
21
f151dea22b2c add flip api
sugi
parents:
diff changeset
22 @Override
f151dea22b2c add flip api
sugi
parents:
diff changeset
23 public void run() {
205
28469b1671e7 repair flip API
sugi
parents: 202
diff changeset
24
198
f151dea22b2c add flip api
sugi
parents:
diff changeset
25 }
f151dea22b2c add flip api
sugi
parents:
diff changeset
26
205
28469b1671e7 repair flip API
sugi
parents: 202
diff changeset
27
198
f151dea22b2c add flip api
sugi
parents:
diff changeset
28 }