return new RoundRobinSplitter ();
{ RoundRobinSplitter splitter =  new RoundRobinSplitter (((Integer)weights.remove (0)).intValue ()); return splitter; }
        Splitter getSplitter ()        {            switch (type)            {                case 1:                    return new RoundRobinSplitter ();                case 2:                    WeightedRoundRobinSplitter splitter = new WeightedRoundRobinSplitter ();                    while (!weights.isEmpty ())                    {                        splitter.addWeight ((Integer)weights.remove (0));                    }                    return splitter;                case 3:                    return new DuplicateSplitter ();                case 4:                	return new NullSplitter ();                default:                    SASSERT (false);            }            return null;        }