Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/test/codesegment/local/TestCodeSegment.java @ 192:a8b0d44bbe68 working
not use value object in bitonic
author | e095732 |
---|---|
date | Thu, 07 Mar 2013 22:20:54 +0900 |
parents | a85ff8dc16c1 |
children | caee170e6cfa |
comparison
equal
deleted
inserted
replaced
191:60051454e443 | 192:a8b0d44bbe68 |
---|---|
1 package alice.test.codesegment.local; | 1 package alice.test.codesegment.local; |
2 | 2 |
3 import alice.codesegment.CodeSegment; | 3 import alice.codesegment.CodeSegment; |
4 import alice.datasegment.CommandType; | 4 import alice.datasegment.CommandType; |
5 import alice.datasegment.Receiver; | 5 import alice.datasegment.Receiver; |
6 import alice.test.codesegment.local.bitonicsort.DataList; | |
6 | 7 |
7 public class TestCodeSegment extends CodeSegment { | 8 public class TestCodeSegment extends CodeSegment { |
8 | 9 |
9 static int count = 0; | 10 static int count = 0; |
10 | 11 |
17 arg1.setKey("key1",index); | 18 arg1.setKey("key1",index); |
18 } | 19 } |
19 | 20 |
20 @Override | 21 @Override |
21 public void run() { | 22 public void run() { |
22 if(count > 1){ | 23 if(count > 0){ |
23 System.out.println(System.currentTimeMillis() - StartCodeSegment.t); | 24 System.out.println(System.currentTimeMillis() - StartCodeSegment.t); |
24 System.exit(1); | 25 System.exit(1); |
25 } | 26 } |
26 //System.out.println(arg1.obj); | 27 DataList list = (DataList)arg1.obj; |
28 System.out.println("ssss"+list.table); | |
27 //System.out.println(arg1.val); | 29 //System.out.println(arg1.val); |
28 | 30 |
29 //ods.update("key1",arg1.asInteger()+1); | 31 //ods.update("key1",arg1.asInteger()+1); |
30 new TestCodeSegment(); | 32 new TestCodeSegment(); |
31 | 33 |