198
|
1 package alice.test.codesegment.api;
|
|
2
|
|
3 import alice.codesegment.CodeSegment;
|
|
4
|
|
5 public class FlipCodeSegment extends CodeSegment{
|
|
6
|
|
7 private String key;
|
|
8 public FlipCodeSegment(String _key){
|
|
9 this.key = _key;
|
|
10 }
|
|
11
|
|
12 @Override
|
|
13 public void run() {
|
|
14 Integer num = new Integer(0);
|
|
15 ods.put(key, num, false);
|
|
16 //System.out.println("Key is " +key);
|
|
17 new FlipTest(key);
|
|
18 //for (int i = 0; i < 1000000; i++){
|
|
19 //ods.put(key, num, false);
|
|
20 //System.out.println("put");
|
|
21 //}
|
|
22
|
|
23
|
|
24 }
|
|
25
|
|
26 }
|