Package net.bytebuddy.build
Class Plugin.Engine.Source.Origin.ForJarFile.JarFileIterator
java.lang.Object
net.bytebuddy.build.Plugin.Engine.Source.Origin.ForJarFile.JarFileIterator
- All Implemented Interfaces:
Iterator<Plugin.Engine.Source.Element>
- Enclosing class:
- Plugin.Engine.Source.Origin.ForJarFile
protected class Plugin.Engine.Source.Origin.ForJarFile.JarFileIterator
extends Object
implements Iterator<Plugin.Engine.Source.Element>
An iterator for jar file entries.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Enumeration<JarEntry>
The represented enumeration. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JarFileIterator
(Enumeration<JarEntry> enumeration) Creates a new jar file iterator. -
Method Summary
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 Details
-
enumeration
The represented enumeration.
-
-
Constructor Details
-
JarFileIterator
Creates a new jar file iterator.- Parameters:
enumeration
- The represented enumeration.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<Plugin.Engine.Source.Element>
-
next
- Specified by:
next
in interfaceIterator<Plugin.Engine.Source.Element>
-
remove
public void remove()- Specified by:
remove
in interfaceIterator<Plugin.Engine.Source.Element>
-