package utp;

public class ActiveCode<T> implements ICode<T> {
	private Cell<T> cell;

	public ActiveCode(Cell<T> cell) {
		super();
		this.cell = cell;
	}

	public void execute(T x) throws StopException {
		cell.put(x);
	}
}