Class AbstractFSManifestIterable.FSManifestIterator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()
      Deep first tree lookup for the directories and the bundles are searched on each found directory.
      ManifestAndLocation 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

      • dirs

        private java.util.Stack<java.util.Iterator<T>> dirs
        Stack of list of directories. An iterator in the stack represents the current directory being lookup. The first element in the stack is the root directory. The next element in the stack is an iterator on the children on the root. The last iterator in the stack points to currentDir.
      • bundleCandidates

        private java.util.Iterator<T> bundleCandidates
        The bundles files being lookup.
      • currentDir

        private T currentDir
    • Constructor Detail

      • FSManifestIterator

        FSManifestIterator()
    • Method Detail

      • hasNext

        public boolean hasNext()
        Deep first tree lookup for the directories and the bundles are searched on each found directory.
        Specified by:
        hasNext in interface java.util.Iterator<ManifestAndLocation>
      • remove

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