Class JarArchive.JarIterator

  • All Implemented Interfaces:
    java.util.Iterator<Archive.Entry>
    Enclosing class:
    JarArchive

    private class JarArchive.JarIterator
    extends java.lang.Object
    implements java.util.Iterator<Archive.Entry>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Archive.Entry next  
      private java.util.Iterator<java.util.jar.JarEntry> stream  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private JarIterator()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private boolean advance()  
      boolean hasNext()  
      Archive.Entry 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

      • stream

        private final java.util.Iterator<java.util.jar.JarEntry> stream
    • Constructor Detail

      • JarIterator

        private JarIterator()
    • Method Detail

      • advance

        private boolean advance()
      • hasNext

        public boolean hasNext()
        Specified by:
        hasNext in interface java.util.Iterator<Archive.Entry>
      • remove

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