Class PDFieldTree.FieldIterator

  • All Implemented Interfaces:
    java.util.Iterator<PDField>
    Enclosing class:
    PDFieldTree

    private static final class PDFieldTree.FieldIterator
    extends java.lang.Object
    implements java.util.Iterator<PDField>
    Iterator which walks all fields in the tree, in order.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Queue<PDField> queue  
      private java.util.Set<COSDictionary> set  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private void enqueueKids​(PDField node)  
      boolean hasNext()  
      PDField next()  
      void remove()  
      • 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
    • Field Detail

      • queue

        private final java.util.Queue<PDField> queue
    • Constructor Detail

      • FieldIterator

        private FieldIterator​(PDAcroForm form)
    • Method Detail

      • hasNext

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

        public PDField next()
        Specified by:
        next in interface java.util.Iterator<PDField>
      • remove

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

        private void enqueueKids​(PDField node)