Package net.bytebuddy.agent.builder
Class AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator
java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator
- Enclosing class:
AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable
protected static class AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator
extends Object
implements Iterator<List<Class<?>>>
A compound iterator that combines several iterables.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CompoundIterator
(List<Iterable<? extends List<Class<?>>>> iterables) Creates a compound 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
-
current
The current iterator ornull
if no such iterator is defined. -
backlog
A backlog of iterables to still consider.
-
-
Constructor Details
-
CompoundIterator
Creates a compound iterator.- Parameters:
iterables
- The iterables to consider.
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-
forward
private void forward()Forwards the iterator to the next relevant iterable. -
remove
public void remove()
-