Ejemplo n.º 1
0
        public IEnumerator GetEnumerator()
        {
            ArrayList elems = new ArrayList();
            ListIter  iter;
            int       i, n;

            foreach (MemberInfoList list in bucket)
            {
                n    = list.Size;
                iter = new ListIter(list);
                for (i = 0; i < n; i++)
                {
                    elems.Add(iter.Next());
                }
            }
            return(elems.GetEnumerator());
        }
Ejemplo n.º 2
0
        public IEnumerator GetEnumerator()
        {
            ArrayList elems = new ArrayList ();
            ListIter iter;
            int i, n;

            foreach (MemberInfoList list in bucket) {
                n = list.Size;
                iter = new ListIter (list);
                for (i = 0; i < n; i++)
                    elems.Add (iter.Next ());
            }
            return elems.GetEnumerator ();
        }