Package org.apache.pdfbox.pdmodel
Class PDPageTree.PageIterator
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.PDPageTree.PageIterator
-
- All Implemented Interfaces:
java.util.Iterator<PDPage>
- Enclosing class:
- PDPageTree
private final class PDPageTree.PageIterator extends java.lang.Object implements java.util.Iterator<PDPage>
Iterator which walks all pages in the tree, in order.
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Queue<COSDictionary>
queue
private java.util.Set<COSDictionary>
set
-
Constructor Summary
Constructors Modifier Constructor Description private
PageIterator(COSDictionary node)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
enqueueKids(COSDictionary node)
boolean
hasNext()
PDPage
next()
void
remove()
-
-
-
Field Detail
-
queue
private final java.util.Queue<COSDictionary> queue
-
set
private java.util.Set<COSDictionary> set
-
-
Constructor Detail
-
PageIterator
private PageIterator(COSDictionary node)
-
-
Method Detail
-
enqueueKids
private void enqueueKids(COSDictionary node)
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<PDPage>
-
remove
public void remove()
- Specified by:
remove
in interfacejava.util.Iterator<PDPage>
-
-