view src/alice/test/codesegment/api/FlipCodeSegment.java @ 290:4074077d118d

Refactor iterating process with for-each sentence.
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Fri, 18 Oct 2013 03:26:38 +0900
parents 3f29a59267e2
children
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 = 0;
		ods.put(key, num);
		
		//System.out.println("Key is " +key);
		new FlipTest(key);
	}
	
}