示例#1
0
            public bool MoveNext()
            {
                FastCollection <T> list = this.list;

                if (index < list.size)
                {
                    current = list.items[index];
                    index++;
                    return(true);
                }
                return(MoveNextRare());
            }
示例#2
0
 internal Enumerator(FastCollection <T> list)
 {
     this.list = list;
     index     = 0;
     current   = default(T);
 }