Ejemplo n.º 1
0
        public override ISeq next()
        {
            if (_next != null)
            {
                return(_next);
            }

            ForceChunk();
            if (_chunk.count() > 1)
            {
                LongChunk smallerChunk = (LongChunk)_chunk.dropFirst();
                _next = new LongRange(smallerChunk.first(), _end, _step, _boundsCheck, smallerChunk, _chunkNext);
                return(_next);
            }
            return(chunkedNext());
        }