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

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

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