clojure.lang.SeqEnumerator.MoveNext C# (CSharp) Method

MoveNext() public method

Move to the next item.
public MoveNext ( ) : bool
return bool
        public bool MoveNext()
        {
            if (_isAtEnd || _origSeq == null)
                return false;

            if (_seq == null)
                _seq = _origSeq;
            else
            {
                _seq = _seq.rest();
                if (_seq == null)
                    _isAtEnd = true;
            }
            return !_isAtEnd;
        }

Usage Example

Example #1
0
 /// <summary>
 /// Advance to the next item.
 /// </summary>
 /// <returns><value>true</value> if there is a next value; <value>false</value> otherwise.</returns>
 public bool MoveNext()
 {
     return(_seqEnum.MoveNext());
 }
All Usage Examples Of clojure.lang.SeqEnumerator::MoveNext