view src/alice/codesegment/CodeSegment.java @ 44:73158dc54c59

fix peek api
author kazz <kazz@cr.ie.u-ryukyu.ac.jp>
date Sat, 04 Feb 2012 01:34:57 +0900
parents 3155337e754e
children 1044a79ce4ef
line wrap: on
line source

package alice.codesegment;

import alice.codesegment.InputDataSegment;

public abstract class CodeSegment implements Runnable {
	
	public InputDataSegment ids = new InputDataSegment(this);
	public OutputDataSegment ods = new OutputDataSegment(this);
	
	public void execute() {
		ids.receive();
	}

}