Class RowIteratorAdapter

    • Constructor Detail

      • RowIteratorAdapter

        public RowIteratorAdapter​(RangeIterator iterator)
        Creates an adapter for the given RangeIterator.
        Parameters:
        iterator - iterator of Rows
      • RowIteratorAdapter

        public RowIteratorAdapter​(java.util.Iterator iterator)
        Creates an adapter for the given Iterator.
        Parameters:
        iterator - iterator of Rows
      • RowIteratorAdapter

        public RowIteratorAdapter​(java.util.Collection collection)
        Creates an iterator for the given collection.
        Parameters:
        collection - collection of Rows
    • Method Detail

      • nextRow

        public Row nextRow()
        Returns the next row.
        Specified by:
        nextRow in interface RowIterator
        Returns:
        next row
        Throws:
        java.util.NoSuchElementException - if there is no next row