Class ZeroFsSecureDirectoryStream.DirectoryIterator

  • All Implemented Interfaces:
    java.util.Iterator<java.nio.file.Path>
    Enclosing class:
    ZeroFsSecureDirectoryStream

    public final class ZeroFsSecureDirectoryStream.DirectoryIterator
    extends java.lang.Object
    implements java.util.Iterator<java.nio.file.Path>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.Iterator<Name> fileNames  
      private java.nio.file.Path nextPath  
      private boolean nextPathReady  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      java.nio.file.Path next()  
      private void prepareNext()  
      • 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, remove
    • Field Detail

      • fileNames

        private java.util.Iterator<Name> fileNames
      • nextPath

        private java.nio.file.Path nextPath
      • nextPathReady

        private boolean nextPathReady
    • Constructor Detail

      • DirectoryIterator

        public DirectoryIterator()
    • Method Detail

      • prepareNext

        private void prepareNext()
      • hasNext

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

        public java.nio.file.Path next()
        Specified by:
        next in interface java.util.Iterator<java.nio.file.Path>