subScheds = new Vector (); workFunc = null;
workFunc = workFunction;
    public Schedule (streamit.scheduler.iriter.Iterator stream)    {        subScheds = new Vector ();        workFunc = null;        workStream = stream;    }