Class AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator

java.lang.Object
net.bytebuddy.agent.builder.AgentBuilder.RedefinitionStrategy.Listener.Compound.CompoundIterable.CompoundIterator
All Implemented Interfaces:
Iterator<List<Class<?>>>
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 Details

    • current

      @MaybeNull private Iterator<? extends List<Class<?>>> current
      The current iterator or null if no such iterator is defined.
    • backlog

      private final List<Iterable<? extends List<Class<?>>>> backlog
      A backlog of iterables to still consider.
  • Constructor Details

    • CompoundIterator

      protected CompoundIterator(List<Iterable<? extends List<Class<?>>>> iterables)
      Creates a compound iterator.
      Parameters:
      iterables - The iterables to consider.
  • Method Details