Example #1
0
        internal TailedSequence <T> Swap(TailedEnumerator itr)
        {
            _itr = itr;
            if (_itr == null)
            {
                return(Empty);
            }

            if (!_itr.MoveNext())
            {
                return(Empty);
            }
            _head = _itr.Current;

            return(this);
        }
Example #2
0
 private TailedSequence(TailedEnumerator itr)
 {
     this.Swap(itr);
 }