iter = allSinks.listIterator ();
if (!allSinks.isEmpty ()) iter = allSinks.listIterator (); else iter = allFilters.listIterator ();
    void RunSinks ()    {        ListIterator iter;        iter = allSinks.listIterator ();                // go over all the sinks        while (iter.hasNext ())        {            Operator sink;            sink = (Operator) iter.next ();            ASSERT (sink != null);                        // do bunch of work            int i;            for (i = 0; i < 10; i++)            {                            sink.Work ();            }        }    }