Class SXSSFRow.FilledCellIterator

  • All Implemented Interfaces:
    java.util.Iterator<Cell>
    Enclosing class:
    SXSSFRow

    public class SXSSFRow.FilledCellIterator
    extends java.lang.Object
    implements java.util.Iterator<Cell>
    Create an iterator over the cells from [0, getLastCellNum()). Includes blank cells, excludes empty cells Returns an iterator over all filled cells (created via Row.createCell()) Throws ConcurrentModificationException if cells are added, moved, or removed after the iterator is created.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      Cell next()  
      void remove()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • Constructor Detail

      • FilledCellIterator

        public FilledCellIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Cell>
      • next

        public Cell next()
                  throws java.util.NoSuchElementException
        Specified by:
        next in interface java.util.Iterator<Cell>
        Throws:
        java.util.NoSuchElementException
      • remove

        public void remove()
        Specified by:
        remove in interface java.util.Iterator<Cell>