Class Plugin.Engine.Source.ForFolder.FolderIterator
java.lang.Object
net.bytebuddy.build.Plugin.Engine.Source.ForFolder.FolderIterator
- All Implemented Interfaces:
Iterator<Plugin.Engine.Source.Element>
- Enclosing class:
Plugin.Engine.Source.ForFolder
protected class Plugin.Engine.Source.ForFolder.FolderIterator
extends Object
implements Iterator<Plugin.Engine.Source.Element>
An iterator that exposes all files within a folder structure as elements.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedFolderIterator(File folder) Creates a new iterator representation for all files within a folder. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
files
-
-
Constructor Details
-
FolderIterator
Creates a new iterator representation for all files within a folder.- Parameters:
folder- The root folder.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator<Plugin.Engine.Source.Element>
-
next
- Specified by:
nextin interfaceIterator<Plugin.Engine.Source.Element>
-
remove
public void remove()- Specified by:
removein interfaceIterator<Plugin.Engine.Source.Element>
-