Provides a basic implementation of IPersistentVector functionality.
Inheritance: AFn, IPersistentVector, Streamable, IList, IComparable
Exemplo n.º 1
0
            public override IEnumerator <object> GetEnumerator()
            {
                APersistentVector av = _v as APersistentVector;

                if (av != null)
                {
                    return(av.RangedIteratorT(_start, _end));
                }
                return(base.GetEnumerator());
            }
Exemplo n.º 2
0
            IEnumerator IEnumerable.GetEnumerator()
            {
                APersistentVector av = _v as APersistentVector;

                if (av != null)
                {
                    return(av.RangedIterator(_start, _end));
                }
                return(base.GetEnumerator());
            }