Advance the logical cursor to the next ResultItem in this ResultSequence and return that item. The logical cursor is initially positioned before the first item in the sequence.
Unlike Iterator.next(), this method returns null when there is no next item.
The next ResultItem in this sequence, or null if the end of the sequence has been reached. Note that the sequence may be empty and this method may return null on the first call.
ResultSequence Interface | Marklogic.Xcc Namespace