Class FileResourceLoader.Itr

  • All Implemented Interfaces:
    java.util.Iterator<Resource>
    Enclosing class:
    FileResourceLoader

    class FileResourceLoader.Itr
    extends java.lang.Object
    implements java.util.Iterator<Resource>
    • Constructor Summary

      Constructors 
      Constructor Description
      Itr​(java.lang.String base, java.lang.String[] names, boolean recursive)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasNext()  
      Resource 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

      • base

        private final java.lang.String base
      • names

        private final java.lang.String[] names
      • recursive

        private final boolean recursive
      • i

        private int i
    • Constructor Detail

      • Itr

        Itr​(java.lang.String base,
            java.lang.String[] names,
            boolean recursive)
    • Method Detail

      • hasNext

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

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

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