Package org.apache.poi.xssf.streaming
Class SXSSFWorkbook.SheetIterator<T extends Sheet>
- java.lang.Object
-
- org.apache.poi.xssf.streaming.SXSSFWorkbook.SheetIterator<T>
-
- All Implemented Interfaces:
Iterator<T>
- Enclosing class:
- SXSSFWorkbook
protected final class SXSSFWorkbook.SheetIterator<T extends Sheet> extends Object implements Iterator<T>
-
-
Constructor Summary
Constructors Constructor Description SheetIterator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()Tnext()voidremove()Unexpected behavior may occur if sheets are reordered after iterator has been created.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Method Detail
-
next
public T next() throws NoSuchElementException
- Specified by:
nextin interfaceIterator<T extends Sheet>- Throws:
NoSuchElementException
-
remove
public void remove() throws IllegalStateExceptionUnexpected behavior may occur if sheets are reordered after iterator has been created. Support for the remove method may be added in the future if someone can figure out a reliable implementation.- Specified by:
removein interfaceIterator<T extends Sheet>- Throws:
IllegalStateException
-
-