Mercurial > hg > Database > Alice
view src/alice/test/codesegment/api/FlipCodeSegment.java @ 198:f151dea22b2c working
add flip api
author | sugi |
---|---|
date | Tue, 19 Mar 2013 01:25:09 +0900 |
parents | |
children | 15b68b65f8a4 |
line wrap: on
line source
package alice.test.codesegment.api; import alice.codesegment.CodeSegment; public class FlipCodeSegment extends CodeSegment{ private String key; public FlipCodeSegment(String _key){ this.key = _key; } @Override public void run() { Integer num = new Integer(0); ods.put(key, num, false); //System.out.println("Key is " +key); new FlipTest(key); //for (int i = 0; i < 1000000; i++){ //ods.put(key, num, false); //System.out.println("put"); //} } }