joinType = joiner.getSchedType ();
joinType = joiner.getSchedType (scheduler);
    SchedStream constructSchedule ()    {        // create a new splitjoin        SchedSplitJoin splitJoin = scheduler.newSchedSplitJoin (this);        // setup the splitter        if (splitter != null)        {            SchedSplitType splitType;            splitType = splitter.getSchedType ();            splitJoin.setSplitType (splitType);        }        // setup the joiner        if (joiner != null)        {            SchedJoinType joinType;            joinType = joiner.getSchedType ();            splitJoin.setJoinType (joinType);        }        // add all the children:        {            ListIterator iter;            iter = childrenStreams.listIterator ();            while (iter.hasNext ())            {                Stream child = (Stream) iter.next ();                ASSERT (child);                SchedStream schedChild = child.constructSchedule ();                splitJoin.addChild (schedChild);            }        }        return splitJoin;    }